Commit 001a4a94 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Don't explicitly flag the block. Clement could you check if fixes the break of...

Don't explicitly flag the block. Clement could you check if fixes the break of local seeking from revision 12113.
parent d65e6f8d
......@@ -1655,13 +1655,14 @@ static vlc_bool_t GatherPES( demux_t *p_demux, ts_pid_t *pid, block_t *p_bk )
i_skip = 5 + p[4];
if( p[4] > 0 )
{
if( p[5]&0x80 )
/* discontinuity indicator found in stream */
b_discontinuity = (p[5]&0x80) ? VLC_TRUE : VLC_FALSE;
if( b_discontinuity && pid->es->p_pes )
{
msg_Warn( p_demux, "discontinuity_indicator (pid=%d) "
"ignored", pid->i_pid );
msg_Warn( p_demux, "discontinuity indicator (pid=%d) ",
pid->i_pid );
/* pid->es->p_pes->i_flags |= BLOCK_FLAG_DISCONTINUITY; */
}
/* discontinuity indicator found in stream */
b_discontinuity = p[5]&0x80 ? VLC_TRUE : VLC_FALSE;
if( p[5]&0x40 )
msg_Dbg( p_demux, "random access indicator (pid=%d) ", pid->i_pid );
}
......@@ -1760,12 +1761,6 @@ static vlc_bool_t GatherPES( demux_t *p_demux, ts_pid_t *pid, block_t *p_bk )
}
}
if( b_discontinuity && pid->es->p_pes )
{
msg_Warn( p_demux, "discontinuity indicator (pid=%d) ",
pid->i_pid );
pid->es->p_pes->i_flags |= BLOCK_FLAG_DISCONTINUITY;
}
return i_ret;
}
......
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