controller: port to new controlbinding api

This commit is contained in:
Stefan Sauer 2011-12-20 22:58:26 +01:00
parent 6aafcb3992
commit 34cf6d1924

View 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);