summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ivtv/ivtv-driver.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-03-16 11:44:42 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2007-03-16 11:44:42 +0100
commitedc9f8560fa088ed74644de3a089b6e8beef0e26 (patch)
tree4afc8d9f92df77e2d2b1a20b9b24dbd8ad90cffa /linux/drivers/media/video/ivtv/ivtv-driver.c
parent29a8247f27a986f2d61dcb492022073220e97b9f (diff)
downloadmediapointer-dvb-s2-edc9f8560fa088ed74644de3a089b6e8beef0e26.tar.gz
mediapointer-dvb-s2-edc9f8560fa088ed74644de3a089b6e8beef0e26.tar.bz2
Fix ivtv yuv threshold handling
From: Ian Armstrong <ian@iarmst.demon.co.uk> Modifies automatic mode selection for yuv playback. Behaviour is now that source video with a vertical resolution below that of the currently set broadcast mode will be treated as progressive. Video with a vertical resolution greater or equal to the current broadcast mode (up to 576 lines) will be treated as interlaced. Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-driver.c')
-rw-r--r--linux/drivers/media/video/ivtv/ivtv-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-driver.c b/linux/drivers/media/video/ivtv/ivtv-driver.c
index fd70b1902..4031df6db 100644
--- a/linux/drivers/media/video/ivtv/ivtv-driver.c
+++ b/linux/drivers/media/video/ivtv/ivtv-driver.c
@@ -116,7 +116,7 @@ static int dec_yuv_buffers = IVTV_DEFAULT_DEC_YUV_BUFFERS;
static int dec_vbi_buffers = IVTV_DEFAULT_DEC_VBI_BUFFERS;
static int ivtv_yuv_mode = 0;
-static int ivtv_yuv_threshold=480;
+static int ivtv_yuv_threshold=-1;
static int ivtv_pci_latency = 1;
int ivtv_debug = 0;