gstobject.c: In function 'gst_object_has_active_automation':
gstobject.c:1076:3: error: 'return' with no value, in function returning non-void
gstcontroller.c: In function 'gst_controller_is_active':
gstcontroller.c:509:3: error: 'return' with no value, in function returning non-void
GList *node;
GstControlledProperty *prop;
- g_return_if_fail (GST_IS_CONTROLLER (self));
+ g_return_val_if_fail (GST_IS_CONTROLLER (self), FALSE);
g_mutex_lock (self->lock);
for (node = self->properties; node; node = node->next) {
{
gboolean res = FALSE;
- g_return_if_fail (GST_IS_OBJECT (object));
+ g_return_val_if_fail (GST_IS_OBJECT (object), FALSE);
if (object->ctrl)
res = gst_controller_is_active ((GstController *) object->ctrl);