[Debconf-video-commits] r433 - in package/trunk: conf src

Ben Hutchings benh at alioth.debian.org
Sat Jun 20 14:51:48 UTC 2009


Author: benh
Date: 2009-06-20 14:51:47 +0000 (Sat, 20 Jun 2009)
New Revision: 433

Modified:
   package/trunk/conf/default
   package/trunk/src/dc-start-source
Log:
Add VIDEO_STANDARD variable.
Add support for starting ALSA sources.


Modified: package/trunk/conf/default
===================================================================
--- package/trunk/conf/default	2009-06-20 14:49:13 UTC (rev 432)
+++ package/trunk/conf/default	2009-06-20 14:51:47 UTC (rev 433)
@@ -9,6 +9,7 @@
 # Sources and sinks
 SOURCES="firewire:localhost"
 SINKS="file:localhost"
+VIDEO_STANDARD=pal
 # Icecast streaming server parameters
 ICECAST_ADDR=int-master.video.debconf.org
 ICECAST_PORT=8000

Modified: package/trunk/src/dc-start-source
===================================================================
--- package/trunk/src/dc-start-source	2009-06-20 14:49:13 UTC (rev 432)
+++ package/trunk/src/dc-start-source	2009-06-20 14:51:47 UTC (rev 433)
@@ -18,6 +18,17 @@
 if [ "$source_scheme" != "$source_loc" ]; then
     source_path="${source_loc#*:}"
     case "$source_scheme" in
+	alsa)
+	    source_host="${source_path%%/*}"
+	    if [ "$source_path" != "$source_host" ]; then
+		source_device="${source_path#*/}"
+	    else
+		source_device=
+	    fi
+	    ssh $source_host dvsource-alsa -h $MIXER_HOST  \
+		-p $MIXER_PORT -s $VIDEO_STANDARD ${source_device}
+		&
+	    ;;
 	firewire)
 	    source_host="${source_path%%/*}"
 	    if [ "$source_path" != "$source_host" ]; then




More information about the Debconf-video-commits mailing list