gst/playback/gstplaysink.c: Don't post an error when we can't configure the volume but post a warning instead. Fixes ...

Original commit message from CVS:
* gst/playback/gstplaysink.c: (gen_audio_chain):
Don't post an error when we can't configure the volume but post a
warning instead. Fixes #561780.
This commit is contained in:
Wim Taymans 2008-11-22 14:31:43 +00:00
parent 6026260635
commit 096efe2fe9
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-11-22 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/playback/gstplaysink.c: (gen_audio_chain):
Don't post an error when we can't configure the volume but post a
warning instead. Fixes #561780.
2008-11-21 David Schleef <ds@schleef.org>
Patch by: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk>

View file

@ -985,7 +985,7 @@ gen_audio_chain (GstPlaySink * playsink, gboolean raw, gboolean queue)
}
/* post a warning if we have no way to configure the volume */
if (!have_volume) {
GST_ELEMENT_ERROR (playsink, STREAM, NOT_IMPLEMENTED,
GST_ELEMENT_WARNING (playsink, STREAM, NOT_IMPLEMENTED,
(_("No volume control found")), ("No volume control found"));
}
chain->sinkpad = gst_ghost_pad_new ("sink", pad);