diff options
author | Andy Walls <awalls@radix.net> | 2008-12-12 18:00:29 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:38:33 -0500 |
commit | af009cf635141858642864a26602e379e97bf7d6 (patch) | |
tree | ab533c73375ed26f2575efe5ba12a3b3f9b22d4c /drivers/media/video/cx18/cx18-fileops.c | |
parent | dd073434b5285121007860914a004320d644ee7e (diff) |
V4L/DVB (9806): cx18: Enable raw VBI capture
A combined authorship patch from Hans Verkuil and Andy Walls. Raw
VBI can now be captured but requires a video capture to be in progress as well.
Signed-off-by: Andy Walls <awalls@radix.net>
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-fileops.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-fileops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-fileops.c b/drivers/media/video/cx18/cx18-fileops.c index 1856d59e0cf..425271a2951 100644 --- a/drivers/media/video/cx18/cx18-fileops.c +++ b/drivers/media/video/cx18/cx18-fileops.c | |||
@@ -185,7 +185,9 @@ static struct cx18_buffer *cx18_get_buffer(struct cx18_stream *s, int non_block, | |||
185 | !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) { | 185 | !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) { |
186 | while ((buf = cx18_dequeue(s_vbi, &s_vbi->q_full))) { | 186 | while ((buf = cx18_dequeue(s_vbi, &s_vbi->q_full))) { |
187 | /* byteswap and process VBI data */ | 187 | /* byteswap and process VBI data */ |
188 | /* cx18_process_vbi_data(cx, buf, s_vbi->dma_pts, s_vbi->type); */ | 188 | cx18_process_vbi_data(cx, buf, |
189 | s_vbi->dma_pts, | ||
190 | s_vbi->type); | ||
189 | cx18_stream_put_buf_fw(s_vbi, buf); | 191 | cx18_stream_put_buf_fw(s_vbi, buf); |
190 | } | 192 | } |
191 | } | 193 | } |