summaryrefslogtreecommitdiff
path: root/src/xine-engine/demux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/demux.c')
-rw-r--r--src/xine-engine/demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/demux.c b/src/xine-engine/demux.c
index 8990db584..e4bc9f4e7 100644
--- a/src/xine-engine/demux.c
+++ b/src/xine-engine/demux.c
@@ -266,7 +266,7 @@ int xine_demux_stop_thread (xine_stream_t *stream) {
pthread_mutex_lock (&stream->first_frame_lock);
if (stream->first_frame_flag) {
stream->first_frame_flag = 0;
- pthread_cond_signal(&stream->first_frame_reached);
+ pthread_cond_broadcast(&stream->first_frame_reached);
}
pthread_mutex_unlock (&stream->first_frame_lock);