Skip to contentSkip to conversation

saa7134: also capture the WSS signal for 50 Hz VBI capture

PATCH New Hans Verkuil 1 participant 1 message Sep 21, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/media/pci/saa7134/saa7134-vbi.c   | 2 +-
 drivers/media/pci/saa7134/saa7134-video.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/media/pci/saa7134/saa7134-vbi.c +1 -1
index c06dbe1..4f0b101 100644
@@ -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
 
drivers/media/pci/saa7134/saa7134-video.c +1 -1
index 0cfa2ca..fc4a427 100644
@@ -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
 
Signature · 1 line
2.1.0