summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-vbi.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-03-25 13:00:12 +0000
committerGerd Knorr <devnull@localhost>2004-03-25 13:00:12 +0000
commit8e0a7f2f9d3ab36712439a68d4c41795925a9c1a (patch)
treedb14ef51c8cfa99654bbf717da731bb66c6a277f /linux/drivers/media/video/cx88/cx88-vbi.c
parenta86e858dc8f1ce0188c0f87671c49e2a808962fc (diff)
downloadmediapointer-dvb-s2-8e0a7f2f9d3ab36712439a68d4c41795925a9c1a.tar.gz
mediapointer-dvb-s2-8e0a7f2f9d3ab36712439a68d4c41795925a9c1a.tar.bz2
- cx88 vbi fixes by Tom Zoerner
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-vbi.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-vbi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-vbi.c b/linux/drivers/media/video/cx88/cx88-vbi.c
index b1221fa7f..3b066a1fd 100644
--- a/linux/drivers/media/video/cx88/cx88-vbi.c
+++ b/linux/drivers/media/video/cx88/cx88-vbi.c
@@ -32,16 +32,16 @@ void cx8800_vbi_fmt(struct cx8800_dev *dev, struct v4l2_format *f)
case V4L2_STD_NTSC_M:
case V4L2_STD_NTSC_M_JP:
f->fmt.vbi.sampling_rate = 28636363;
- f->fmt.vbi.start[0] = 10;
- f->fmt.vbi.start[1] = 273;
+ f->fmt.vbi.start[0] = 10 -1;
+ f->fmt.vbi.start[1] = 273 -1;
break;
case V4L2_STD_PAL_BG:
case V4L2_STD_PAL_DK:
case V4L2_STD_PAL_I:
case V4L2_STD_SECAM:
f->fmt.vbi.sampling_rate = 35468950;
- f->fmt.vbi.start[0] = 7;
- f->fmt.vbi.start[1] = 319;
+ f->fmt.vbi.start[0] = 7 -1;
+ f->fmt.vbi.start[1] = 319 -1;
}
}