GNOME Bugzilla – Bug 143659
[PATCH] set automatically [video/audio][sink/src] at build time, depending on platform
Last modified: 2005-06-30 15:13:29 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.
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.
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.
Something tells me alsasink/alsasrc is missing. Otherwise, I think this is a great solution.
Created attachment 34553 [details] [review] patch to change default plugins based on arch/OS
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.
*** Bug 118033 has been marked as a duplicate of this bug. ***
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.