mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-05-13 03:38:55 +00:00
gst: fix some compiler warnings
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
This commit is contained in:
parent
efd4402ee0
commit
be70cebc31
2 changed files with 2 additions and 2 deletions
|
@ -506,7 +506,7 @@ gst_controller_is_active (GstController * self)
|
|||
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) {
|
||||
|
|
|
@ -1073,7 +1073,7 @@ gst_object_has_active_automation (GstObject * object)
|
|||
{
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue