gst/playback/gstplaysink.c: Don't post an error when we can't configure the volume...
authorWim Taymans <wim.taymans@gmail.com>
Sat, 22 Nov 2008 14:31:43 +0000 (14:31 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sat, 22 Nov 2008 14:31:43 +0000 (14:31 +0000)
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.

ChangeLog
gst/playback/gstplaysink.c

index 59f5616..5150abd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
index 8435e5d..acc4234 100644 (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);