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 143659 - [PATCH] set automatically [video/audio][sink/src] at build time, depending on platform
[PATCH] set automatically [video/audio][sink/src] at build time, depending on...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other All
: High major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-06-03 16:22 UTC by Brian Cameron
Modified: 2005-06-30 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (5.30 KB, patch)
2004-12-05 02:52 UTC, David Schleef
none Details | Review
patch to change default plugins based on arch/OS (3.63 KB, patch)
2004-12-06 17:04 UTC, Brian Cameron
none Details | Review

Description Brian Cameron 2004-06-03 16:22:39 UTC
Currently the gstreamer.schemas.in file in gst-plugins/gconf is hardcoded to use
osssrc/osssink for the audiosrc/audiosink and v4lsrc/xvimagesink for the
videosrc/videosink.  

On Solaris, esdsink is currently the audio sink that works.  Unfortunately
there are no audio source that works (since there is no esdsrc plugin).  Also
video sink/source is not working on Solaris since Solaris doesn't yet support
the Xvideo Xserver extension.

It would be nice if the following were done:

1) If building on Solaris, change the default audio sink to esdsink.  I 
   understand a sunaudiosink is in the works, so it probably makes sense to
   make that the Solaris default when done.

2) You should be able to specify the default audio/video sink/source when
   running configure.
Comment 1 Christian Fredrik Kalager Schaller 2004-12-04 19:44:32 UTC
Sunaudio sink is in and working since you filed this, could you maybe provide a
patch for switching the default sink to that when compiling on Solaris? If you
provide the patch I will test and commit it.
Comment 2 David Schleef 2004-12-05 02:52:20 UTC
Created attachment 34495 [details] [review]
proposed patch

Here's one way to do it.  I'm not certain I like the idea of changing the
schema based on the plugins being compiled -- setting them by arch/OS might
make more sense.
Comment 3 Ronald Bultje 2004-12-05 09:24:11 UTC
Something tells me alsasink/alsasrc is missing. Otherwise, I think this is a
great solution.
Comment 4 Brian Cameron 2004-12-06 17:04:30 UTC
Created attachment 34553 [details] [review]
patch to change default plugins based on arch/OS
Comment 5 Brian Cameron 2004-12-06 17:05:11 UTC
I just attached the patch that we use here at Sun to change the default sink/src
based on the arch/OS.  You can use this instead of David's patch if you think
this is more appropriate.
Comment 6 Stephane Loeuillet 2004-12-12 19:06:31 UTC
*** Bug 118033 has been marked as a duplicate of this bug. ***
Comment 7 David Schleef 2004-12-14 06:36:00 UTC
I like Brian's patch better.  I don't want to worry about people's default sinks
changing based on how gst-plugins was compiled.  Applied.