Commit 29f9b9bf authored by Laurent Aimar's avatar Laurent Aimar

* ts: if no dts but there is a pts then dts == pts.

parent fa81e26c
......@@ -1256,6 +1256,10 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid )
}
}
/* ISO/IEC 13818-1 2.7.5: if no pts and no dts, then dts == pts */
if( i_pts >= 0 && i_dts < 0 )
i_dts = i_pts;
if( p_pes )
{
block_t *p_block;
......
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