controller: port to new controlbinding api
authorStefan Sauer <ensonic@users.sf.net>
Tue, 20 Dec 2011 21:58:26 +0000 (22:58 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Fri, 23 Dec 2011 17:41:49 +0000 (18:41 +0100)
gst/volume/gstvolume.c

index bedae0d..3dd259b 100644 (file)
@@ -267,8 +267,7 @@ volume_update_volume (GstVolume * self, gfloat volume, gboolean mute)
    * because the property can change from 1.0 to something
    * else in the middle of a buffer.
    */
-  passthrough &=
-      !gst_object_has_active_controlled_properties (GST_OBJECT (self));
+  passthrough &= !gst_object_has_active_control_bindings (GST_OBJECT (self));
 
   GST_DEBUG_OBJECT (self, "set passthrough %d", passthrough);