[media] saa7134: also capture the WSS signal for 50 Hz VBI capture
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 21 Sep 2014 09:38:55 +0000 (06:38 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Sep 2014 19:13:46 +0000 (16:13 -0300)
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>
drivers/media/pci/saa7134/saa7134-vbi.c
drivers/media/pci/saa7134/saa7134-video.c

index c06dbe17a87f03303dc72b2e2500dc037c87ad4d..4f0b1012e4f39d308b445ae198ce30231509a8f1 100644 (file)
@@ -43,7 +43,7 @@ MODULE_PARM_DESC(vbibufs,"number of vbi buffers, range 2-32");
 
 /* ------------------------------------------------------------------ */
 
-#define VBI_LINE_COUNT     16
+#define VBI_LINE_COUNT     17
 #define VBI_LINE_LENGTH  2048
 #define VBI_SCALE       0x200
 
index 0cfa2ca6a32ad2c1e3a03a952792fdcb590cc146..fc4a427cb51fed9bea0cf9ec16bab44e5408ec70 100644 (file)
@@ -201,7 +201,7 @@ static struct saa7134_format formats[] = {
                .video_v_start = 24,    \
                .video_v_stop  = 311,   \
                .vbi_v_start_0 = 7,     \
-               .vbi_v_stop_0  = 22,    \
+               .vbi_v_stop_0  = 23,    \
                .vbi_v_start_1 = 319,   \
                .src_timing    = 4