diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/demux.c | 2 | ||||
-rw-r--r-- | src/xine-engine/video_decoder.c | 4 | ||||
-rw-r--r-- | src/xine-engine/video_out.c | 4 |
3 files changed, 5 insertions, 5 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); diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c index e59ef3255..23a4a17eb 100644 --- a/src/xine-engine/video_decoder.c +++ b/src/xine-engine/video_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_decoder.c,v 1.107 2002/10/31 16:58:23 mroi Exp $ + * $Id: video_decoder.c,v 1.108 2002/11/02 15:18:40 mroi Exp $ * */ @@ -212,7 +212,7 @@ void *video_decoder_loop (void *stream_gen) { 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); diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index f89daa873..d1446d33e 100644 --- a/src/xine-engine/video_out.c +++ b/src/xine-engine/video_out.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out.c,v 1.107 2002/10/29 16:02:50 mroi Exp $ + * $Id: video_out.c,v 1.108 2002/11/02 15:18:40 mroi Exp $ * * frame allocation / queuing / scheduling / output functions */ @@ -296,7 +296,7 @@ static int vo_frame_draw (vo_frame_t *img) { pthread_mutex_lock (&this->stream->first_frame_lock); if (this->stream->first_frame_flag) { this->stream->first_frame_flag = 0; - pthread_cond_signal(&this->stream->first_frame_reached); + pthread_cond_broadcast(&this->stream->first_frame_reached); } pthread_mutex_unlock (&this->stream->first_frame_lock); |