[Debconf-video-commits] r383 - in package/branches/pycon09: conf src
benh at alioth.debian.org
benh at alioth.debian.org
Tue Mar 24 18:27:44 UTC 2009
Author: benh
Date: 2009-03-24 18:27:44 +0000 (Tue, 24 Mar 2009)
New Revision: 383
Modified:
package/branches/pycon09/conf/default
package/branches/pycon09/src/dc-start-source
Log:
Add VIDEO_STANDARD variable.
Add support for starting ALSA sources.
Modified: package/branches/pycon09/conf/default
===================================================================
--- package/branches/pycon09/conf/default 2009-03-24 18:23:31 UTC (rev 382)
+++ package/branches/pycon09/conf/default 2009-03-24 18:27:44 UTC (rev 383)
@@ -9,6 +9,7 @@
# Sources and sinks
SOURCES="firewire:localhost"
SINKS="file:localhost"
+VIDEO_STANDARD=ntsc
# Icecast streaming server parameters
#ICECAST_ADDR=
ICECAST_PORT=8000
Modified: package/branches/pycon09/src/dc-start-source
===================================================================
--- package/branches/pycon09/src/dc-start-source 2009-03-24 18:23:31 UTC (rev 382)
+++ package/branches/pycon09/src/dc-start-source 2009-03-24 18:27:44 UTC (rev 383)
@@ -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