[Mplayer-cvslog] CVS: main/libmpdemux tvi_v4l.c,1.33,1.34

Jindrich Makovicka CVS henry at mplayerhq.hu
Tue Oct 22 09:29:34 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv25114

Modified Files:
	tvi_v4l.c 
Log Message:
add a forgotten shutdown test

Index: tvi_v4l.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tvi_v4l.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- tvi_v4l.c	19 Oct 2002 20:03:40 -0000	1.33
+++ tvi_v4l.c	22 Oct 2002 07:29:09 -0000	1.34
@@ -1190,6 +1190,9 @@
 	    if (priv->immediate_mode) {
 		while ((priv->video_tail+1) % priv->video_buffer_size == priv->video_head) {
 		    usleep(10000);
+                    if (priv->shutdown) {
+                      return NULL;
+                    }
 		}
 	    }
 		




More information about the MPlayer-cvslog mailing list