gnome-media r4240 - in trunk: . gst-mixer/src



Author: bcameron
Date: Wed Mar  4 21:34:50 2009
New Revision: 4240
URL: http://svn.gnome.org/viewvc/gnome-media?rev=4240&view=rev

Log:
2009-03-04  Brian Cameron  <brian cameron sun com>

        * gst-mixer/src/element.c: Fix code so that options are updated upon
          change.  Fixes bug #571083.  Patch by Garrett D'Amore
          <garrett damore sun com>


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	Wed Mar  4 21:34:50 2009
@@ -208,6 +208,9 @@
     gst_mixer_message_parse_mute_toggled (message, &track, NULL);
   } else if (type == GST_MIXER_MESSAGE_VOLUME_CHANGED) {
     gst_mixer_message_parse_volume_changed (message, &track, NULL, NULL);
+  } else if (type == GST_MIXER_MESSAGE_OPTION_CHANGED) {
+    gst_mixer_message_parse_option_changed (message, &options, NULL);
+    track = GST_MIXER_TRACK (options);
   } else {
     return;
   }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]