summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2021-01-22 23:54:50 +0100
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-04-03 00:42:15 +0000
commitff3cce38b6ac54feb19bb93d36ed0337c7c15442 (patch)
tree4f0e7e0231a8132e463a6eadcf1553563e0f82eb /docs
parent42586dd53666fc600795a04c394c4d0d4ce68747 (diff)
downloadgstreamer-plugins-bad-ff3cce38b6ac54feb19bb93d36ed0337c7c15442.tar.gz
line21dec: relax caps requirements
Instead of requiring interlaced video, simply skip CC detection when the input is progressive. This allows placing line21decoder unconditionally in pipelines, without having to worry about whether the input stream will be interlaced, or even worse interlacing just in case! + update doc cache Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1885>
Diffstat (limited to 'docs')
-rw-r--r--docs/plugins/gst_plugins_cache.json51
1 files changed, 48 insertions, 3 deletions
diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json
index 02da7405d..9a484b301 100644
--- a/docs/plugins/gst_plugins_cache.json
+++ b/docs/plugins/gst_plugins_cache.json
@@ -3451,17 +3451,42 @@
"long-name": "Line 21 CC Decoder",
"pad-templates": {
"sink": {
- "caps": "video/x-raw:\n format: { I420, YUY2, YVYU, UYVY, VYUY, v210 }\n interlace-mode: interleaved\n",
+ "caps": "video/x-raw:\n format: { I420, YUY2, YVYU, UYVY, VYUY, v210 }\n",
"direction": "sink",
"presence": "always"
},
"src": {
- "caps": "video/x-raw:\n format: { I420, YUY2, YVYU, UYVY, VYUY, v210 }\n interlace-mode: interleaved\n",
+ "caps": "video/x-raw:\n format: { I420, YUY2, YVYU, UYVY, VYUY, v210 }\n",
"direction": "src",
"presence": "always"
}
},
- "properties": {},
+ "properties": {
+ "mode": {
+ "blurb": "Control whether and how detected CC meta should be inserted in the list of existing CC meta on a frame (if any).",
+ "conditionally-available": false,
+ "construct": false,
+ "construct-only": false,
+ "controllable": false,
+ "default": "add (0)",
+ "mutable": "null",
+ "readable": true,
+ "type": "GstLine21DecoderMode",
+ "writable": true
+ },
+ "ntsc-only": {
+ "blurb": "Whether line 21 decoding should only be attempted when the input resolution matches NTSC",
+ "conditionally-available": false,
+ "construct": false,
+ "construct-only": false,
+ "controllable": false,
+ "default": "false",
+ "mutable": "null",
+ "readable": true,
+ "type": "gboolean",
+ "writable": true
+ }
+ },
"rank": "none"
},
"line21encoder": {
@@ -3554,6 +3579,26 @@
"value": "3"
}
]
+ },
+ "GstLine21DecoderMode": {
+ "kind": "enum",
+ "values": [
+ {
+ "desc": "add new CC meta on top of other CC meta, if any",
+ "name": "add",
+ "value": "0"
+ },
+ {
+ "desc": "ignore CC if a CC meta was already present",
+ "name": "drop",
+ "value": "1"
+ },
+ {
+ "desc": "replace existing CC meta",
+ "name": "replace",
+ "value": "2"
+ }
+ ]
}
},
"package": "GStreamer Bad Plug-ins",