summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2019-02-12 14:30:49 +0200
committerSebastian Dröge <sebastian@centricular.com>2019-02-12 14:38:40 +0200
commit8171560053c0ce6d881ec5d7a791313055111aa7 (patch)
tree4be349fbb8e76cb601c238c09eb03561b6d0a805
parent173f11e73f532a3b9e8b709e28bcad888cee5031 (diff)
decklinkvideosink: Use S334_EIA_608 instead of S334_EIA_708 for CEA608 output
-rw-r--r--sys/decklink/gstdecklinkvideosink.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/decklink/gstdecklinkvideosink.cpp b/sys/decklink/gstdecklinkvideosink.cpp
index c0196b438..dbc0374ce 100644
--- a/sys/decklink/gstdecklinkvideosink.cpp
+++ b/sys/decklink/gstdecklinkvideosink.cpp
@@ -910,8 +910,8 @@ gst_decklink_video_sink_prepare (GstBaseSink * bsink, GstBuffer * buffer)
if (!gst_video_vbi_encoder_add_ancillary (self->vbiencoder,
FALSE,
- GST_VIDEO_ANCILLARY_DID16_S334_EIA_708 >> 8,
- GST_VIDEO_ANCILLARY_DID16_S334_EIA_708 & 0xff, data, 3))
+ GST_VIDEO_ANCILLARY_DID16_S334_EIA_608 >> 8,
+ GST_VIDEO_ANCILLARY_DID16_S334_EIA_608 & 0xff, data, 3))
GST_WARNING_OBJECT (self, "Couldn't add meta to ancillary data");
got_captions = TRUE;
@@ -921,8 +921,8 @@ gst_decklink_video_sink_prepare (GstBaseSink * bsink, GstBuffer * buffer)
case GST_VIDEO_CAPTION_TYPE_CEA608_S334_1A:{
if (!gst_video_vbi_encoder_add_ancillary (self->vbiencoder,
FALSE,
- GST_VIDEO_ANCILLARY_DID16_S334_EIA_708 >> 8,
- GST_VIDEO_ANCILLARY_DID16_S334_EIA_708 & 0xff, cc_meta->data,
+ GST_VIDEO_ANCILLARY_DID16_S334_EIA_608 >> 8,
+ GST_VIDEO_ANCILLARY_DID16_S334_EIA_608 & 0xff, cc_meta->data,
cc_meta->size))
GST_WARNING_OBJECT (self, "Couldn't add meta to ancillary data");