summaryrefslogtreecommitdiff
path: root/ext/closedcaption/gstline21dec.h
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2020-12-15 22:01:33 +0100
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-04-03 00:42:14 +0000
commitc915cb923e9e5d21a53168e578ef6551e6affdd0 (patch)
treea0275dd008ae5b58766442584021106a2702684b /ext/closedcaption/gstline21dec.h
parent893aa67710dbc6bc1d02e6459722f6853e8b004b (diff)
downloadgstreamer-plugins-bad-c915cb923e9e5d21a53168e578ef6551e6affdd0.tar.gz
line21dec: expose ntsc-only property
When this is set, the element only tries to detect CC when the height is 525 or 486 (NTSC resolutions). The height is already checked. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1885>
Diffstat (limited to 'ext/closedcaption/gstline21dec.h')
-rw-r--r--ext/closedcaption/gstline21dec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/closedcaption/gstline21dec.h b/ext/closedcaption/gstline21dec.h
index e576f25fe..c0134b304 100644
--- a/ext/closedcaption/gstline21dec.h
+++ b/ext/closedcaption/gstline21dec.h
@@ -60,6 +60,8 @@ struct _GstLine21Decoder
guint8 *converted_lines;
GstVideoInfo *info;
+
+ gboolean ntsc_only;
};
struct _GstLine21DecoderClass