cccombiner: mark field 0 as valid when generating padding CDP
authorMathieu Duponchelle <mathieu@centricular.com>
Thu, 8 Jul 2021 00:24:18 +0000 (02:24 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 8 Jul 2021 00:26:05 +0000 (00:26 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2383>

ext/closedcaption/gstcccombiner.c

index 1c2f032..aef5e6c 100644 (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;