cccombiner: mark field 0 as valid when generating padding CDP

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2383>
This commit is contained in:
Mathieu Duponchelle 2021-07-08 02:24:18 +02:00 committed by GStreamer Marge Bot
parent 2cd83fb4ef
commit 64190e7452

View file

@ -331,7 +331,7 @@ make_padding (GstCCCombiner * self, const GstVideoTimeCode * tc, guint field)
switch (self->caption_type) {
case GST_VIDEO_CAPTION_TYPE_CEA708_CDP:
{
const guint8 cc_data[6] = { 0xf8, 0x80, 0x80, 0xf9, 0x80, 0x80 };
const guint8 cc_data[6] = { 0xfc, 0x80, 0x80, 0xf9, 0x80, 0x80 };
ret = make_cdp (self, cc_data, 6, self->cdp_fps_entry, tc);
break;