From 0243afcb9d9a86e6572262d7b0ecb4f108fa147c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 25 Nov 2020 16:24:25 +0200 Subject: ccconverter: Add property to specify which sections to include in CDP packets Various software, including ffmpeg's Decklink support, fails parsing CDP packets that contain anything but CC data in the CDP packets. Based on this property, timecodes are not written into the CDP packets even if they're present. Part-of: --- docs/plugins/gst_plugins_cache.json | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 5248eb83b..71d8f72c4 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -3346,7 +3346,20 @@ "presence": "always" } }, - "properties": {}, + "properties": { + "cdp-mode": { + "blurb": "Select which CDP sections to store in CDP packets", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "default": "cc-svc-info+cc-data+time-code", + "mutable": "null", + "readable": true, + "type": "GstCCConverterCDPMode", + "writable": true + } + }, "rank": "none" }, "ccextractor": { @@ -3470,6 +3483,26 @@ "filename": "gstclosedcaption", "license": "LGPL", "other-types": { + "GstCCConverterCDPMode": { + "kind": "flags", + "values": [ + { + "desc": "Store time code information in CDP packets", + "name": "time-code", + "value": "0x00000001" + }, + { + "desc": "Store CC data in CDP packets", + "name": "cc-data", + "value": "0x00000002" + }, + { + "desc": "Store CC service information in CDP packets", + "name": "cc-svc-info", + "value": "0x00000004" + } + ] + }, "GstCeaCcOverlayWinHPos": { "kind": "enum", "values": [ -- cgit v1.2.1