summaryrefslogtreecommitdiff
path: root/gst/volume/gstvolume.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/volume/gstvolume.c')
-rw-r--r--gst/volume/gstvolume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c
index 9d3473fec..5f4c0c080 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);