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 136407 - gstreamer-properties can't correctly test esdsink
gstreamer-properties can't correctly test esdsink
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: general
2.5.x
Other Linux
: Normal minor
: ---
Assigned To: gnome media maintainers
gnome media maintainers
Depends on:
Blocks:
 
 
Reported: 2004-03-06 20:49 UTC by John Thacker
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
One line patch to properly test esdsink and other output sinks (786 bytes, patch)
2004-03-06 20:52 UTC, John Thacker
none Details | Review

Description John Thacker 2004-03-06 20:49:59 UTC
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.

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 to read:
static gchar audiosink_test_pipe[] = "sinesrc freq=512 ! spider";
Comment 1 John Thacker 2004-03-06 20:52:58 UTC
Created attachment 25275 [details] [review]
One line patch to properly test esdsink and other output sinks
Comment 2 Jan Schmidt 2004-03-07 16:16:03 UTC
I'm not sure that using spider is the correct solution, since this is
effectively saying that apps should always add spider in front of the
bin that they fetch from gst-gconf if they want it to work. 

I'm inclined instead to think that the esdsink audiosink should be
'audioconvert ! audioscale ! esdsink'