Commit 0f68248f authored by Laurent Aimar's avatar Laurent Aimar

Enable seek base on PCR in the TS demuxer only when the stream can seek fast

parent e208c6eb
......@@ -822,7 +822,7 @@ static int Open( vlc_object_t *p_this )
p_sys->p_pos = (int64_t *)calloc( p_sys->i_pcrs_num, sizeof( int64_t ) );
bool can_seek = false;
stream_Control( p_demux->s, STREAM_CAN_SEEK, &can_seek );
stream_Control( p_demux->s, STREAM_CAN_FASTSEEK, &can_seek );
if( can_seek )
{
GetFirstPCR( p_demux );
......
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