Red Hat Bugzilla – Bug 117668
gstreamer-properties can't test esdsink
Last modified: 2007-11-30 17:10:37 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115
Description of problem:
gstreamer-properties incorrectly claims that esdsink doesn't work when
a user tries to test it after setting the default output sink to
esdsink. Despite this claim, if esd is active the sink may be working
anyway. (esd will only work if the user has upgraded to
esound-0.2.33-1 due to bug 114326 )
This is because esdsink can't play sinesrc directly, unlike other
output sinks. I.e., gst-launch sinesrc ! esdsink fails.
Audioconversion is necessary first.
The correct test pipeline to use would involve using the spider plugin
to hook together the sources and sinks, to automatically take care of
such problems. sinesrc ! spider ! esdsink works, as does any other sink.
Line 34 of gstreamer-properties/pipeline-constants.c should be changed
static gchar audiosink_test_pipe = "sinesrc freq=512 ! spider";
Patch provided below
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. Select "esdsink" as default output sink
3. Push "Test" button
Actual Results: Error message about inability to create pipeline pops up.
Expected Results: Test sound, a pure sine wave, should play.
Note that esdsink still works anyway, so this is only to make the test
work properly and remove a confusing error message.
Created attachment 98346 [details]
One line patch to fix audio pipeline for testing output sinks
I also filed an upstream bug
Fixed upstream in gnome-media-2.5.5, and thus will make it into FC2
before release with the rest of GNOME2.6