V4L/DVB (5183): Fix CC handling in VIDIOC_INT_G_VBI_DATA
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 3 Feb 2007 09:35:07 +0000 (06:35 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 21 Feb 2007 15:35:14 +0000 (13:35 -0200)
commitfaeb4ab38f6fec62d50a023e1778d13e73a0b088
treec608a80635bb9975735c8506eed8f84ba4de1933
parent2675f7a88f73bc3131b817c118fbffa5cfed8868
V4L/DVB (5183): Fix CC handling in VIDIOC_INT_G_VBI_DATA

When capturing a 60 Hz input the internal field ID is inverted. The
VIDIOC_INT_G_VBI_DATA didn't take that into account and so returned
XDS instead of CC and vice versa.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7115.c