Commit 901bddaa authored by François Cartegnie's avatar François Cartegnie 🤞

demux: mp4: remove captions ordered flag

parent 2e3ec037
......@@ -26,8 +26,6 @@
#include <vlc_bits.h>
#define BLOCK_FLAG_ORDERED_CAPTIONS (0x01 << BLOCK_FLAG_PRIVATE_SHIFT)
#define CC_PKT_BYTE0(field) (0xFC | (0x03 & field))
/* CC have a maximum rate of 9600 bit/s (per field?) */
......
......@@ -481,9 +481,11 @@ static block_t * MP4_EIA608_Convert( block_t * p_block )
} while( i_bytes >= 2 );
}
block_Release( p_block );
p_newblock->i_pts = p_block->i_dts;
p_newblock->i_buffer = i_copied;
p_newblock->i_flags = BLOCK_FLAG_ORDERED_CAPTIONS;
p_newblock->i_flags = BLOCK_FLAG_TYPE_P;
block_Release( p_block );
return p_newblock;
}
......
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