]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: cx88: increase BUFFER_TIMEOUT to 2 seconds
authorMarton Balint <cus@fazekas.hu>
Wed, 24 Feb 2010 16:23:36 +0000 (13:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:46:23 +0000 (00:46 -0300)
commit4b4f549a2f217a69fff1956173a7a5532271b4e1
tree719ed7684fa4077216fc4239fc65db9b0b2677b9
parent362fae97fe7c6737cfecf44ad203a8362517f92a
V4L/DVB: 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.

Signed-off-by: Marton Balint <cus@fazekas.hu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx88/cx88.h