![]() |
2008-05-10
, 20:23
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#12
|
![]() |
2008-05-10
, 20:27
|
|
Posts: 716 |
Thanked: 236 times |
Joined on Dec 2007
|
#13
|
![]() |
2008-05-11
, 14:41
|
|
Posts: 716 |
Thanked: 236 times |
Joined on Dec 2007
|
#14
|
![]() |
2008-05-11
, 14:47
|
|
Posts: 716 |
Thanked: 236 times |
Joined on Dec 2007
|
#15
|
![]() |
2008-05-11
, 15:15
|
|
Posts: 716 |
Thanked: 236 times |
Joined on Dec 2007
|
#16
|
![]() |
2008-05-12
, 01:28
|
Posts: 2 |
Thanked: 4 times |
Joined on May 2008
|
#17
|
![]() |
2008-05-12
, 16:12
|
|
Posts: 716 |
Thanked: 236 times |
Joined on Dec 2007
|
#18
|
![]() |
2008-05-12
, 19:36
|
|
Posts: 716 |
Thanked: 236 times |
Joined on Dec 2007
|
#19
|
diff -Bburw /home/tz/sbnok/t/flashcam-1.1/vloopback-1.1.2/vloopback.c vloopback.c--- /home/tz/sbnok/t/flashcam-1.1/vloopback-1.1.2/vloopback.c 2008-03-27 04:30:34.000000000 -0500 +++ vloopback.c 2008-05-12 14:11:47.000000000 -0500 @@ -156,7 +156,7 @@ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18) #include <media/v4l2-common.h> #endif - +#define CONFIG_VIDEO_V4L1_COMPAT 1 #include <linux/videodev.h> #include <linux/vmalloc.h> #include <linux/wait.h> @@ -349,6 +349,7 @@ } else { if (loops[nr]->ropen || loops[nr]->wopen) return -EBUSY; + loops[nr]->pendingread=0; loops[nr]->framesdumped=0; loops[nr]->frameswrite=0; loops[nr]->wopen=1; @@ -390,6 +391,7 @@ wake_up(&loops[nr]->wait); } + loops[nr]->pendingread=0; loops[nr]->width=0; loops[nr]->height=0; loops[nr]->palette=0; @@ -406,6 +408,7 @@ if (waitqueue_active(&loops[nr]->wait)) { loops[nr]->pendingread = 1; wake_up(&loops[nr]->wait); + loops[nr]->pendingread = 0; } loops[nr]->ropen=0; if (loops[nr]->zerocopy && loops[nr]->buffer) {
![]() |
2008-05-12
, 23:14
|
|
Posts: 716 |
Thanked: 236 times |
Joined on Dec 2007
|
#20
|