default srcs/sinks: Change the default video and audio sources and sinks
authorJan Schmidt <thaytan@noraisin.net>
Tue, 24 Feb 2009 18:25:32 +0000 (18:25 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Wed, 25 Feb 2009 11:27:24 +0000 (11:27 +0000)
Just use autoaudiosink and autovideosink for output. Switch video input
to v4l2src by default for now. At some point (when?) we can just use
autoaudiosrc and autovideosrc.

m4/gst-default.m4

index 204fc55..d8b53ed 100644 (file)
@@ -8,21 +8,18 @@ AC_DEFUN([AG_GST_DEFAULT_ELEMENTS],
   dnl FIXME: describe where exactly this gets used
   dnl FIXME: decide if it's a problem that this could point to sinks from
   dnl        depending plugin modules
+  dnl FIXME: when can we just use autoaudiosrc and autovideosrc?
   DEFAULT_AUDIOSINK="autoaudiosink"
   DEFAULT_VIDEOSINK="autovideosink"
   DEFAULT_AUDIOSRC="alsasrc"
-  DEFAULT_VIDEOSRC="v4lsrc"
+  DEFAULT_VIDEOSRC="v4l2src"
   DEFAULT_VISUALIZER="goom"
   case "$host" in
     *-sun-* | *pc-solaris* )
-      DEFAULT_AUDIOSINK="sunaudiosink"
-      DEFAULT_VIDEOSINK="ximagesink"
       DEFAULT_AUDIOSRC="sunaudiosrc"
       ;;
     *-darwin* )
-      DEFAULT_AUDIOSINK="osxaudiosink"
       DEFAULT_AUDIOSRC="osxaudiosrc"
-      DEFAULT_VIDEOSINK="osxvideosink"
       ;;
   esac