The patch number 14402 was added via Douglas Schilling Landgraf
<[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
Linux Media Mailing List <[email protected]>
------
From: Marton Balint <[email protected]>
cx88: increase BUFFER_TIMEOUT to 2 seconds
When temporarily there is no video signal, sometimes it takes more than 0.5
secs for the cx88 chip to generate a single frame. If a dma timeout occurs
during recording, it confuses the recording application (at least mencoder)
and the recording stops.
Since there is already an #if 0 for 2 seconds buffer timeout in the code
at the -hg development tree, re-enabling that seemed the most simple
solution.
Priority: normal
[[email protected]: patch backported to hg tree]
Signed-off-by: Marton Balint <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Douglas Schilling Landgraf <[email protected]>
---
linux/drivers/media/video/cx88/cx88.h | 3 ---
1 file changed, 3 deletions(-)
diff -r da1add22e191 -r 1232210aa632 linux/drivers/media/video/cx88/cx88.h
--- a/linux/drivers/media/video/cx88/cx88.h Sat Mar 06 21:41:39 2010 -0300
+++ b/linux/drivers/media/video/cx88/cx88.h Sat Mar 06 22:03:33 2010 -0300
@@ -291,10 +291,7 @@
#define RESOURCE_VIDEO 2
#define RESOURCE_VBI 4
-#define BUFFER_TIMEOUT msecs_to_jiffies(500) /* 0.5 seconds */
-#if 0
#define BUFFER_TIMEOUT msecs_to_jiffies(2000)
-#endif
/* buffer for one video frame */
struct cx88_buffer {
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/1232210aa632a45f37db4865c70d90c88e518c44
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits