Commit f5d0c4b6 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ogg: remove discontinuity flag

reused decoders won't need it.
parent b77904f5
......@@ -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;
......
......@@ -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;
......
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