[V4L] [PATCH] vloopback 0.71

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

A small change: the dumped count wasn't set to zero when a input was
reopened.

Attached is a diff against 0.7, a diff against a clean 2.4.0-test8
source tree can be found in the complete package located at:
http://motion.technolust.cx/vloopback

Jeroen
--- vloopback-0.7/vloopback.c	Mon Sep 11 17:07:10 2000
+++ vloopback-0.71/vloopback.c	Wed Sep 13 21:26:23 2000
@@ -20,9 +20,10 @@
  *			Changed mapped check to open check, also don't allow
  *			a open for write while somebody is reading.
  *			Added /proc support
+ *			Set dumped count to zero at open.
  */
 #define VLNAME "vloopback: "
-#define VLVER "0.7"
+#define VLVER "0.71"
 
 #include <linux/config.h>
 #include <linux/kernel.h>
@@ -197,6 +198,7 @@
 	} else {
 		if (loops[nr]->ropen)
 			return -EBUSY;
+		loops[nr]->framesdumped=0;
 		loops[nr]->frameswrite=0;
 		loops[nr]->wopen=1;
 	}

[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux