GNOME Bugzilla – Bug 519417
Unable to modify DEFAULT_VIDEOSRC in configure
Last modified: 2008-04-09 09:03:24 UTC
There are two parts to this bug. First off, maintainers and users building the package aren't able to directly build with the DEFAULT_VIDEOSRC set to anything other than "v4lsrc". Rather than reading in from the environment and using that variable, instead the variable is consistently overridden. Look at the configure script around lines 31674-31678. Here is a snippet for an example: DEFAULT_AUDIOSINK="autoaudiosink" DEFAULT_VIDEOSINK="autovideosink" DEFAULT_AUDIOSRC="alsasrc" DEFAULT_VIDEOSRC="v4lsrc" 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 The second part to this bug is that this default should be changed to v4l2src. V4L itself has been deprecated since ~2.6.15 and all new devices are developed against V4L2. See http://linuxtv.org/v4lwiki/index.php/Development:_Video4Linux_APIs for more information on V4L.
I've added configure switches for these now: 2008-04-09 Tim-Philipp Müller <tim at centricular dot net> * m4/gst-default.m4: Add --with-default-{audiosink|audiosrc|videosink|videosrc|visualizer} configure switches (#519417). I'm reluctant to change the default videosrc to v4l2src yet though, because our v4l2src element is still considered 'experimental' and not built by default. Once it's not experimental any longer it should be changed though.