Commit 6fa4a8c3 authored by Matthew Waters's avatar Matthew Waters 🐨 Committed by GStreamer Merge Bot

ccconverter: fix cdp timecode parsing

The first reserved bits are in the most significant bit.

i.e. 0xc0 vs 0x0c

Part-of: <!1400>
parent f8bf8430
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment