gnome-media r3875 - in trunk: . gst-mixer/src
- From: malureau svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-media r3875 - in trunk: . gst-mixer/src
- Date: Mon, 2 Jun 2008 19:18:04 +0000 (UTC)
Author: malureau
Date: Mon Jun 2 19:18:04 2008
New Revision: 3875
URL: http://svn.gnome.org/viewvc/gnome-media?rev=3875&view=rev
Log:
2008-06-02 Marc-Andrà Lureau <marcandre lureau gmail com>
* gst-mixer/src/element.c (cb_notify_message): Fix warning
introduced by previous change.
Modified:
trunk/ChangeLog
trunk/gst-mixer/src/element.c
Modified: trunk/gst-mixer/src/element.c
==============================================================================
--- trunk/gst-mixer/src/element.c (original)
+++ trunk/gst-mixer/src/element.c Mon Jun 2 19:18:04 2008
@@ -181,9 +181,10 @@
type = gst_mixer_message_get_type (message);
if (type == GST_MIXER_MESSAGE_MUTE_TOGGLED) {
gst_mixer_message_parse_mute_toggled (message, &track, NULL);
- }
- else {
+ } else if (type == GST_MIXER_MESSAGE_VOLUME_CHANGED) {
gst_mixer_message_parse_volume_changed (message, &track, NULL, NULL);
+ } else {
+ return;
}
trkw = g_object_get_data (G_OBJECT (track),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]