video-anc: Replace GST_VIDEO_CAPTION_TYPE_CEA608_IN_CEA708_RAW with CEA608_S334_1A
authorSebastian Dröge <sebastian@centricular.com>
Mon, 10 Dec 2018 13:55:49 +0000 (15:55 +0200)
committerSebastian Dröge <slomo@coaxion.net>
Sat, 15 Dec 2018 21:31:14 +0000 (21:31 +0000)
commit1eb3a206179b86333d53c5f8fa0fff486ec37c04
tree97b9aead8b54281635a0cbe9d045ba970068b7df
parent3ce6bf65c7df5e3f5938d0abc39866859a7069a6
video-anc: Replace GST_VIDEO_CAPTION_TYPE_CEA608_IN_CEA708_RAW with CEA608_S334_1A

CEA608_IN_CEA708_RAW is the same format as CEA708_RAW. It's only
difference is that it must contain only CEA608 and a format like this
does not exist in practice. In practice every element that handles raw
cc_data triplets must check each triplet for their actual content and
handle them accordingly.

For CC-only streams a parser could signal the existence of CEA608 and/or
CEA708 inside the caps but for metas this can only potentially be
signalled via the ALLOCATION query for negotiation purposes.

A separate format for this is not very useful and instead it should be a
format qualifier.

CEA608_S334_1A is the format defined by SMPTE S334-1 Annex A and which
is used for transferring CEA608 over SDI instead of CEA708 CDP packets.
gst-libs/gst/video/video-anc.c
gst-libs/gst/video/video-anc.h