diff --git a/gst/gstcontroller.c b/gst/gstcontroller.c index c9f033cdb1..5e43fdbc3b 100644 --- a/gst/gstcontroller.c +++ b/gst/gstcontroller.c @@ -565,7 +565,7 @@ gst_controller_set_disabled (GstController * self, gboolean disabled) GList *node; GstControlledProperty *prop; - g_return_val_if_fail (GST_IS_CONTROLLER (self), FALSE); + g_return_if_fail (GST_IS_CONTROLLER (self)); g_mutex_lock (self->lock); for (node = self->properties; node; node = node->next) {