After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 519417 - Unable to modify DEFAULT_VIDEOSRC in configure
Unable to modify DEFAULT_VIDEOSRC in configure
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.7
Other Linux
: Normal normal
: 0.10.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-28 23:20 UTC by Mario Limonciello
Modified: 2008-04-09 09:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Mario Limonciello 2008-02-28 23:20:50 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.
Comment 1 Tim-Philipp Müller 2008-04-09 09:03:24 UTC
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.