diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-03-14 12:24:15 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 12:58:50 -0300 |
commit | add632cd2580ceb4de9f71ab58c658e9bdebd7f7 (patch) | |
tree | 3290b7f900af6ed8e4c21b1a4ee8f762b5f4dd65 /drivers/media/video/cx18/cx18-streams.c | |
parent | 4ff0790b6d8b26a4160e46bbd7bf6f4f48e391f9 (diff) | |
download | linux-add632cd2580ceb4de9f71ab58c658e9bdebd7f7.tar.gz linux-add632cd2580ceb4de9f71ab58c658e9bdebd7f7.tar.bz2 linux-add632cd2580ceb4de9f71ab58c658e9bdebd7f7.zip |
V4L/DVB: cx18: switch to new vbi subdev ops
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-streams.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-streams.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-streams.c b/drivers/media/video/cx18/cx18-streams.c index 054450f65a60..f5c91261b2db 100644 --- a/drivers/media/video/cx18/cx18-streams.c +++ b/drivers/media/video/cx18/cx18-streams.c @@ -374,7 +374,10 @@ static void cx18_vbi_setup(struct cx18_stream *s) } /* setup VBI registers */ - v4l2_subdev_call(cx->sd_av, video, s_fmt, &cx->vbi.in); + if (raw) + v4l2_subdev_call(cx->sd_av, vbi, s_raw_fmt, &cx->vbi.in.fmt.vbi); + else + v4l2_subdev_call(cx->sd_av, vbi, s_sliced_fmt, &cx->vbi.in.fmt.sliced); /* * Send the CX18_CPU_SET_RAW_VBI_PARAM API command to setup Encoder Raw |