Commit 4f460e2f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

block_FifoWake (deprecated): wake-up _all_ threads, not just one

parent 8209230f
...@@ -431,7 +431,7 @@ void block_FifoWake( block_fifo_t *p_fifo ) ...@@ -431,7 +431,7 @@ void block_FifoWake( block_fifo_t *p_fifo )
vlc_mutex_lock( &p_fifo->lock ); vlc_mutex_lock( &p_fifo->lock );
if( p_fifo->p_first == NULL ) if( p_fifo->p_first == NULL )
p_fifo->b_force_wake = true; p_fifo->b_force_wake = true;
vlc_cond_signal( &p_fifo->wait ); vlc_cond_broadcast( &p_fifo->wait );
vlc_mutex_unlock( &p_fifo->lock ); vlc_mutex_unlock( &p_fifo->lock );
} }
......
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