diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-11-02 15:18:40 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-11-02 15:18:40 +0000 |
commit | f5a59a63e7819383ff3dab1d0ef7c76dff5d008a (patch) | |
tree | c165c8a326ccad97975a71efa04edeaa589d9b6b /src | |
parent | 847eabf5292f3a8df4b2a45b0bc7bc3592668df5 (diff) | |
download | xine-lib-f5a59a63e7819383ff3dab1d0ef7c76dff5d008a.tar.gz xine-lib-f5a59a63e7819383ff3dab1d0ef7c76dff5d008a.tar.bz2 |
these should better be broadcast signals
CVS patchset: 3149
CVS date: 2002/11/02 15:18:40
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); |