Commit 64f418a0 authored by Francois Cartegnie's avatar Francois Cartegnie

packetizer: hevc: reset pts/dts xps

parent 4bdae2c8
......@@ -278,6 +278,8 @@ static bool InsertXPS(decoder_t *p_dec, uint8_t i_nal_type, uint8_t i_id,
pp_xps[i_id] = block_Duplicate(p_nalb);
if(pp_xps[i_id])
{
pp_xps[i_id]->i_dts = VLC_TS_INVALID;
pp_xps[i_id]->i_pts = VLC_TS_INVALID;
const uint8_t *p_buffer = p_nalb->p_buffer;
size_t i_buffer = p_nalb->i_buffer;
if( hxxx_strip_AnnexB_startcode( &p_buffer, &i_buffer ) )
......
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