diff options
author | Gerd Knorr <devnull@localhost> | 2004-03-17 12:18:10 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-03-17 12:18:10 +0000 |
commit | 23b3b23710ba07e99433680c50117f683bbe6de7 (patch) | |
tree | 866279af846e9ade347e5a513fa886e5f382d72b /linux/drivers/media/video | |
parent | beb2299584ecafa931ad0835b148bf63c2ed32a4 (diff) | |
download | mediapointer-dvb-s2-23b3b23710ba07e99433680c50117f683bbe6de7.tar.gz mediapointer-dvb-s2-23b3b23710ba07e99433680c50117f683bbe6de7.tar.bz2 |
- fix saa7134 cropping.
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/saa7134/saa7134-video.c | 4 |
1 files 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); |