summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r--src/xine-engine/xine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 4d01f77ad..efc12a68d 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.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: xine.c,v 1.293 2004/05/23 18:47:02 tmattern Exp $
+ * $Id: xine.c,v 1.294 2004/06/02 19:46:10 tmattern Exp $
*/
/*
@@ -1070,7 +1070,7 @@ int xine_open (xine_stream_t *stream, const char *mrl) {
static void __wait_first_frame (xine_stream_t *stream) {
if (stream->video_decoder_plugin) {
pthread_mutex_lock (&stream->first_frame_lock);
- while (stream->first_frame_flag > 0) {
+ if (stream->first_frame_flag > 0) {
struct timeval tv;
struct timespec ts;
gettimeofday(&tv, NULL);