Commit dfd3fa1e authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ogg: fix es creation delaying with skeleton

parent f7755e7f
......@@ -544,14 +544,17 @@ static int Demux( demux_t * p_demux )
/* if a page was waiting, it's now processed */
p_sys->b_page_waiting = false;
p_sys->b_preparsing_done = true;
if ( p_sys->p_skelstream && !p_sys->p_skelstream->b_finished )
p_sys->b_preparsing_done = false;
else
p_sys->b_preparsing_done = true;
p_sys->i_pcr = -1;
for( i_stream = 0; i_stream < p_sys->i_streams; i_stream++ )
{
logical_stream_t *p_stream = p_sys->pp_stream[i_stream];
if ( p_stream->b_force_backup )
if ( p_sys->b_preparsing_done && p_stream->b_initializing )
{
/* We have 1 or more streams needing more than 1 page for preparsing */
p_sys->b_preparsing_done = false;
......
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