mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
ccconverter: signal cea608 padding as invalid
Outputting a valid but null cea608 byte pair may cause some issues with some checksum packets. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1318>
This commit is contained in:
parent
bfd03537f0
commit
8396e16f85
1 changed files with 2 additions and 2 deletions
|
@ -730,7 +730,7 @@ combine_cc_data (GstCCConverter * self, gboolean pad_cea608,
|
|||
cea608_1_i++;
|
||||
i++;
|
||||
} else if (cea608_1_i < total_cea608_1_count) {
|
||||
out[out_i++] = 0xfc;
|
||||
out[out_i++] = 0xf8;
|
||||
out[out_i++] = 0x80;
|
||||
out[out_i++] = 0x80;
|
||||
cea608_1_i++;
|
||||
|
@ -744,7 +744,7 @@ combine_cc_data (GstCCConverter * self, gboolean pad_cea608,
|
|||
cea608_2_i++;
|
||||
i++;
|
||||
} else if (cea608_2_i < total_cea608_2_count) {
|
||||
out[out_i++] = 0xfd;
|
||||
out[out_i++] = 0xf9;
|
||||
out[out_i++] = 0x80;
|
||||
out[out_i++] = 0x80;
|
||||
cea608_2_i++;
|
||||
|
|
Loading…
Reference in a new issue