Commit f0ae37f4 authored by Thomas Guillem's avatar Thomas Guillem Committed by Rémi Denis-Courmont

decoder: don´t touch pause on exit

The paused flag is no longer protected by the owner lock (the FIFO lock
instead), and it is no longer useful to clear it at exit.

Edited-and-...
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 24f1ec9c
......@@ -1829,9 +1829,8 @@ void input_DecoderDelete( decoder_t *p_dec )
vlc_cancel( p_owner->thread );
/* Make sure we aren't paused/waiting/decoding anymore */
/* Make sure we aren't waiting/decoding anymore */
vlc_mutex_lock( &p_owner->lock );
p_owner->paused = false;
p_owner->b_waiting = false;
p_owner->b_flushing = true;
vlc_cond_signal( &p_owner->wait_request );
......
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