summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-vbi.c
diff options
context:
space:
mode:
authorMichael Schimek <mschimek@gmx.at>2006-05-22 15:32:11 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 07:00:14 +0200
commit419ac5d466db4dba3eb6bd79ffe993b4a4e81b4f (patch)
tree87b7c933be8606f1b6169f0b1e3ad4f39335758a /drivers/media/video/cx88/cx88-vbi.c
parentV4L/DVB (3996): Make the table static (diff)
downloadlinux-419ac5d466db4dba3eb6bd79ffe993b4a4e81b4f.tar.xz
linux-419ac5d466db4dba3eb6bd79ffe993b4a4e81b4f.zip
V4L/DVB (4001): Cx88 NTSC VBI fixes
VBI (Closed Caption, CC) capturing never worked in NTSC mode with the cx88 driver. They were tested with libzvbi and a patched version of tvtime. Signed-off-by: Michael H. Schimek <mschimek@gmx.at> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-vbi.c')
-rw-r--r--drivers/media/video/cx88/cx88-vbi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx88/cx88-vbi.c b/drivers/media/video/cx88/cx88-vbi.c
index 846faadc9f1c..aa2a69770098 100644
--- a/drivers/media/video/cx88/cx88-vbi.c
+++ b/drivers/media/video/cx88/cx88-vbi.c
@@ -34,8 +34,8 @@ void cx8800_vbi_fmt(struct cx8800_dev *dev, struct v4l2_format *f)
if (dev->core->tvnorm->id & V4L2_STD_525_60) {
/* ntsc */
f->fmt.vbi.sampling_rate = 28636363;
- f->fmt.vbi.start[0] = 10 -1;
- f->fmt.vbi.start[1] = 273 -1;
+ f->fmt.vbi.start[0] = 10;
+ f->fmt.vbi.start[1] = 273;
} else if (dev->core->tvnorm->id & V4L2_STD_625_50) {
/* pal */