summaryrefslogtreecommitdiff
path: root/drivers/media/platform/vivid/vivid-vbi-gen.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2014-09-20 06:11:44 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-21 20:40:05 -0300
commit62f28725a8dc5c16d3d63606f046899ae41fcf4a (patch)
tree0a994727a4369f7ad5fba0e3de7192cf237285d1 /drivers/media/platform/vivid/vivid-vbi-gen.h
parent625c3442dcc79722c60afc398beac4c11f0395ac (diff)
[media] vivid: add teletext support to VBI capture
This is useful to test teletext capture applications like alevt and mtt. It also fixes a previously undetected bug where the PAL VBI start line of the second field was off by one. Using the new field start defines helps a lot fixing such bugs. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/vivid/vivid-vbi-gen.h')
-rw-r--r--drivers/media/platform/vivid/vivid-vbi-gen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vivid/vivid-vbi-gen.h b/drivers/media/platform/vivid/vivid-vbi-gen.h
index 401dd47c0f1d..8444abe905ea 100644
--- a/drivers/media/platform/vivid/vivid-vbi-gen.h
+++ b/drivers/media/platform/vivid/vivid-vbi-gen.h
@@ -21,7 +21,7 @@
#define _VIVID_VBI_GEN_H_
struct vivid_vbi_gen_data {
- struct v4l2_sliced_vbi_data data[2];
+ struct v4l2_sliced_vbi_data data[25];
u8 time_of_day_packet[16];
};