From 6c2f5317c7fe717ce0d7c309f3f6b022ed689da3 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Fri, 4 Nov 2011 21:00:29 +0100 Subject: [PATCH] volume: use new api to check activity of a controller --- gst/volume/gstvolume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c index 9d3473fecf..5f4c0c0802 100644 --- a/gst/volume/gstvolume.c +++ b/gst/volume/gstvolume.c @@ -268,7 +268,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 = passthrough && (GST_OBJECT (self)->ctrl == NULL); + passthrough &= gst_object_has_active_automation (GST_OBJECT (self)); GST_DEBUG_OBJECT (self, "set passthrough %d", passthrough);