summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-video.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-07-22 13:34:58 +0000
committerGerd Knorr <devnull@localhost>2004-07-22 13:34:58 +0000
commitf10645815ff6d66711a9f180f7573905812556bc (patch)
treeef0c4fb934559e3c93d6228bb674a4a9642d5788 /linux/drivers/media/video/cx88/cx88-video.c
parent579832ccff77ff3322bd06fd73256614896e429b (diff)
downloadmediapointer-dvb-s2-f10645815ff6d66711a9f180f7573905812556bc.tar.gz
mediapointer-dvb-s2-f10645815ff6d66711a9f180f7573905812556bc.tar.bz2
- filter fixes for secam.
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-video.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-video.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-video.c b/linux/drivers/media/video/cx88/cx88-video.c
index 3cfa3bfdc..49e7256ca 100644
--- a/linux/drivers/media/video/cx88/cx88-video.c
+++ b/linux/drivers/media/video/cx88/cx88-video.c
@@ -684,7 +684,9 @@ static int set_scale(struct cx8800_dev *dev, unsigned int width, unsigned int he
value |= (1 << 0); // 3-tap interpolation
if (width < 193)
value |= (1 << 1); // 5-tap interpolation
-
+ if (dev->tvnorm.id & V4L2_STD_SECAM)
+ value |= (1 << 16);
+
cx_write(MO_FILTER_EVEN, value);
cx_write(MO_FILTER_ODD, value);
dprintk(1,"set_scale: filter 0x%04x\n", value);