diff options
author | Ian Armstrong <ian@iarmst.demon.co.uk> | 2007-03-16 06:44:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:44:48 -0400 |
commit | 9e0df402e695e638dfee94a6e05fca48b15404e6 (patch) | |
tree | b4f91692f6c13fdf2b6a788cecc59aa05393730b /drivers/media/video/ivtv/ivtv-driver.c | |
parent | 59fc7f52898fb35eb053bc7b54430d81629b5966 (diff) |
V4L/DVB (5438): Fix ivtv yuv threshold handling
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-driver.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c index 8b5597ff3cd7..45b9328a538f 100644 --- a/drivers/media/video/ivtv/ivtv-driver.c +++ b/drivers/media/video/ivtv/ivtv-driver.c | |||
@@ -116,7 +116,7 @@ static int dec_yuv_buffers = IVTV_DEFAULT_DEC_YUV_BUFFERS; | |||
116 | static int dec_vbi_buffers = IVTV_DEFAULT_DEC_VBI_BUFFERS; | 116 | static int dec_vbi_buffers = IVTV_DEFAULT_DEC_VBI_BUFFERS; |
117 | 117 | ||
118 | static int ivtv_yuv_mode = 0; | 118 | static int ivtv_yuv_mode = 0; |
119 | static int ivtv_yuv_threshold=480; | 119 | static int ivtv_yuv_threshold=-1; |
120 | static int ivtv_pci_latency = 1; | 120 | static int ivtv_pci_latency = 1; |
121 | 121 | ||
122 | int ivtv_debug = 0; | 122 | int ivtv_debug = 0; |