Commit 6beabe2c authored by François Cartegnie's avatar François Cartegnie 🤞

demux: avi: don't skip master track for unseekable

parent 26ac8a6a
......@@ -1403,7 +1403,8 @@ static int Demux_UnSeekable( demux_t *p_demux )
else
{
/* check for time */
if( llabs( AVI_GetPTS( p_stream ) -
if( p_stream == p_stream_master ||
llabs( AVI_GetPTS( p_stream ) -
AVI_GetPTS( p_stream_master ) )< 2 * CLOCK_FREQ )
{
/* load it and send to decoder */
......
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