mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
ccconverter: fix cdp timecode parsing
The first reserved bits are in the most significant bit. i.e. 0xc0 vs 0x0c Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1400>
This commit is contained in:
parent
f8bf84307f
commit
6fa4a8c3c3
1 changed files with 1 additions and 1 deletions
|
@ -1117,7 +1117,7 @@ convert_cea708_cdp_cea708_cc_data_internal (GstCCConverter * self,
|
|||
return 0;
|
||||
|
||||
u8 = gst_byte_reader_get_uint8_unchecked (&br);
|
||||
if ((u8 & 0xc) != 0xc)
|
||||
if ((u8 & 0xc0) != 0xc0)
|
||||
return 0;
|
||||
|
||||
hours = ((u8 >> 4) & 0x3) * 10 + (u8 & 0xf);
|
||||
|
|
Loading…
Reference in a new issue