Commit 8209230f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not check for decoder error in the demux thread

That was only an optimization, and it fails thread-safety.
In any case, a failed decoder will still dequeue (and discard) blocks.
parent 3110258d
......@@ -337,7 +337,7 @@ void input_DecoderDecode( decoder_t *p_dec, block_t *p_block )
if( p_owner->p_input->p->b_out_pace_control )
{
/* FIXME !!!!! */
while( vlc_object_alive( p_dec ) && !p_dec->b_error &&
while( vlc_object_alive( p_dec ) &&
block_FifoCount( p_owner->p_fifo ) > 10 )
{
msleep( 1000 );
......
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