From: Francois Cartegnie Date: Fri, 27 Dec 2013 16:16:29 +0000 (+0100) Subject: demux: ogg: remove discontinuity flag X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=f5d0c4b6eecef54bc1268f82a58bef61293efb70;p=vlc demux: ogg: remove discontinuity flag reused decoders won't need it. --- diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c index 099b6ab42d..b11a82e2d1 100644 --- a/modules/demux/ogg.c +++ b/modules/demux/ogg.c @@ -1252,11 +1252,6 @@ static void Ogg_DecodePacket( demux_t *p_demux, p_block->i_buffer = 0; } - if ( p_stream->b_reusing ) - { - p_stream->b_reusing = false; - p_block->i_flags |= BLOCK_FLAG_DISCONTINUITY; - } if( p_stream->fmt.i_codec == VLC_CODEC_TARKIN ) { @@ -1829,7 +1824,6 @@ static void Ogg_CreateES( demux_t *p_demux ) p_stream->b_finished = false; p_stream->b_reinit = false; p_stream->b_initializing = false; - p_stream->b_reusing = true; es_format_Copy( &p_stream->fmt_old, &p_old_stream->fmt ); p_old_stream->p_es = NULL; diff --git a/modules/demux/ogg.h b/modules/demux/ogg.h index fa1d3e5f46..3ec4d24b70 100644 --- a/modules/demux/ogg.h +++ b/modules/demux/ogg.h @@ -74,7 +74,6 @@ typedef struct logical_stream_s bool b_initializing; bool b_finished; bool b_reinit; - bool b_reusing; bool b_oggds; int i_granule_shift;