wtay gst-plugins-base: gst-plugins-base/ gst-plugins-base/gst/playback/

[email protected]
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gst-plugins-base
Changes by:     wtay
Date:           Sat Nov 22 2008  14:31:57 UTC

Log message:
* 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.

Modified files:
    .               : ChangeLog
    gst/playback    : gstplaysink.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.4205&r2=1.4206
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/gst/playback/gstplaysink.c.diff?r1=1.19&r2=1.20

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ChangeLog,v
retrieving revision 1.4205
retrieving revision 1.4206
diff -u -d -r1.4205 -r1.4206
--- ChangeLog	21 Nov 2008 20:32:54 -0000	1.4205
+++ ChangeLog	22 Nov 2008 14:31:41 -0000	1.4206
@@ -1,3 +1,9 @@
+2008-11-22  Wim Taymans  <[email protected]>
+
+	* 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  <[email protected]>
 
 	Patch by: Jonathan Rosser <[email protected]>
Index: gstplaysink.c
RCS file: /cvs/gstreamer/gst-plugins-base/gst/playback/gstplaysink.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- gstplaysink.c	20 Nov 2008 22:11:38 -0000	1.19
+++ gstplaysink.c	22 Nov 2008 14:31:43 -0000	1.20
@@ -985,7 +985,7 @@
   }
   /* 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);

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.