Commit b0d0fc36 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ts: set delayed es if preparsed

Avoids never creating es when access_control is seekable
(should never be the case anyway)
parent 9d5d8ab5
......@@ -1197,9 +1197,10 @@ static int Open( vlc_object_t *p_this )
while( !p_sys->i_pmt_es && !p_sys->b_end_preparse )
if( Demux( p_demux ) != VLC_DEMUXER_SUCCESS )
break;
p_sys->es_creation = DELAY_ES;
}
p_sys->es_creation = ( p_sys->b_access_control ? CREATE_ES : DELAY_ES );
else
p_sys->es_creation = ( p_sys->b_access_control ? CREATE_ES : DELAY_ES );
return VLC_SUCCESS;
}
......
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