Patch (small) : hvr1110 : enable capture device : svideo and composite1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

This small patch enables video over s-video and composite1.

One question : i 'm unable to test sound via line-in in my card ?

i've tested it with :

mplayer tv://23 -vo x11 -tv driver=v4l2:device=/dev/video0:alsa:adevice=hw.1,0:amode=1:audiorate=32000:forceaudio:volume=100:immediatemode=0:norm=SECAM-L:chanlist=france

(sound and video ok)

mplayer tv://23 -vo x11 -tv driver=v4l2:device=/dev/video0:norm=SECAM-L:chanlist=france

and in the same time

cat /dev/audio1 > /dev/audio

(sound and video ok)

but with :

mplayer tv:// -vo x11 -tv driver=v4l2:device=/dev/video0:input=2 (or input=1)

and in the same time

cat /dev/audio1 > /dev/audio

video is ok on the 2 device (svideo and composite) but no sound

Any idea ?

Thanks in advance

Tom.

Signed-off-by : Thomas Genty <tomlohave@xxxxxxxxx>
diff -ur v4l-dvb/linux/drivers/media/video/saa7134/saa7134-cards.c v4l-dvb-perso/linux/drivers/media/video/saa7134/saa7134-cards.c
--- v4l-dvb/linux/drivers/media/video/saa7134/saa7134-cards.c	2006-11-13 23:38:11.000000000 +0100
+++ v4l-dvb-perso/linux/drivers/media/video/saa7134/saa7134-cards.c	2006-11-15 14:46:19.000000000 +0100
@@ -3181,6 +3181,14 @@
 			.vmux = 1,
 			.amux = TV,
 			.tv   = 1,
+		},{
+			.name   = name_comp1,
+			.vmux   = 3,
+			.amux   = LINE2,
+		},{
+			.name   = name_svideo,
+			.vmux   = 8,
+			.amux   = LINE2,
 		}},
 		.radio = {
 			.name = name_radio,
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux