diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2014-09-21 05:38:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-23 15:13:46 -0400 |
commit | 033d008821b9d04e823ef7adb5ef2504506f7028 (patch) | |
tree | 6da8e3d316366eba110603d6e3647743689bfd2a /drivers/media/pci | |
parent | 017ab36a8bce08ebdca741ea636f0b2e5006a143 (diff) |
[media] saa7134: also capture the WSS signal for 50 Hz VBI capture
The saa7134 driver missed capturing line 23 of the VBI area for the
50 Hz formats. Include that line in the VBI capture.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r-- | drivers/media/pci/saa7134/saa7134-vbi.c | 2 | ||||
-rw-r--r-- | drivers/media/pci/saa7134/saa7134-video.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/saa7134/saa7134-vbi.c b/drivers/media/pci/saa7134/saa7134-vbi.c index c06dbe17a87f..4f0b1012e4f3 100644 --- a/drivers/media/pci/saa7134/saa7134-vbi.c +++ b/drivers/media/pci/saa7134/saa7134-vbi.c | |||
@@ -43,7 +43,7 @@ MODULE_PARM_DESC(vbibufs,"number of vbi buffers, range 2-32"); | |||
43 | 43 | ||
44 | /* ------------------------------------------------------------------ */ | 44 | /* ------------------------------------------------------------------ */ |
45 | 45 | ||
46 | #define VBI_LINE_COUNT 16 | 46 | #define VBI_LINE_COUNT 17 |
47 | #define VBI_LINE_LENGTH 2048 | 47 | #define VBI_LINE_LENGTH 2048 |
48 | #define VBI_SCALE 0x200 | 48 | #define VBI_SCALE 0x200 |
49 | 49 | ||
diff --git a/drivers/media/pci/saa7134/saa7134-video.c b/drivers/media/pci/saa7134/saa7134-video.c index 0cfa2ca6a32a..fc4a427cb51f 100644 --- a/drivers/media/pci/saa7134/saa7134-video.c +++ b/drivers/media/pci/saa7134/saa7134-video.c | |||
@@ -201,7 +201,7 @@ static struct saa7134_format formats[] = { | |||
201 | .video_v_start = 24, \ | 201 | .video_v_start = 24, \ |
202 | .video_v_stop = 311, \ | 202 | .video_v_stop = 311, \ |
203 | .vbi_v_start_0 = 7, \ | 203 | .vbi_v_start_0 = 7, \ |
204 | .vbi_v_stop_0 = 22, \ | 204 | .vbi_v_stop_0 = 23, \ |
205 | .vbi_v_start_1 = 319, \ | 205 | .vbi_v_start_1 = 319, \ |
206 | .src_timing = 4 | 206 | .src_timing = 4 |
207 | 207 | ||