From 23b3b23710ba07e99433680c50117f683bbe6de7 Mon Sep 17 00:00:00 2001 From: Gerd Knorr Date: Wed, 17 Mar 2004 12:18:10 +0000 Subject: - fix saa7134 cropping. --- linux/drivers/media/video/saa7134/saa7134-video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux/drivers/media/video/saa7134/saa7134-video.c b/linux/drivers/media/video/saa7134/saa7134-video.c index e40656144..4876b0b7d 100644 --- a/linux/drivers/media/video/saa7134/saa7134-video.c +++ b/linux/drivers/media/video/saa7134/saa7134-video.c @@ -579,9 +579,9 @@ static void set_size(struct saa7134_dev *dev, int task, int div = interlace ? 2 : 1; /* setup video scaler */ - h_start = dev->crop_current.left/2; + h_start = dev->crop_current.left; v_start = dev->crop_current.top/2; - h_stop = (dev->crop_current.left + dev->crop_current.width -1)/2; + h_stop = (dev->crop_current.left + dev->crop_current.width -1); v_stop = (dev->crop_current.top + dev->crop_current.height -1)/2; saa_writeb(SAA7134_VIDEO_H_START1(task), h_start & 0xff); -- cgit v1.2.3