Commit 6beabe2c authored by Francois Cartegnie's avatar Francois Cartegnie

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

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