mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
6026260635
commit
096efe2fe9
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
2008-11-21 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
Patch by: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk>
|
Patch by: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk>
|
||||||
|
|
|
@ -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 */
|
/* post a warning if we have no way to configure the volume */
|
||||||
if (!have_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"));
|
(_("No volume control found")), ("No volume control found"));
|
||||||
}
|
}
|
||||||
chain->sinkpad = gst_ghost_pad_new ("sink", pad);
|
chain->sinkpad = gst_ghost_pad_new ("sink", pad);
|
||||||
|
|
Loading…
Reference in a new issue