[vlc-commits] demux: ogg: fix es creation delaying with skeleton
Francois Cartegnie
git at videolan.org
Mon Dec 30 15:42:09 CET 2013
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Dec 27 15:26:27 2013 +0100| [dfd3fa1e534a20419c4b09f32b4150c3cf99bbe8] | committer: Francois Cartegnie
demux: ogg: fix es creation delaying with skeleton
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dfd3fa1e534a20419c4b09f32b4150c3cf99bbe8
---
modules/demux/ogg.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 0fa65b0..6a3ca11 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -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;
More information about the vlc-commits
mailing list