return FALSE;
if (newobj)
- g_object_ref (newobj);
+ gst_object_ref (newobj);
while (G_UNLIKELY (!g_atomic_pointer_compare_and_exchange ((gpointer *)
oldobj, oldptr, newobj))) {
}
if (oldptr)
- g_object_unref (oldptr);
+ gst_object_unref (oldptr);
return oldptr != newobj;
}
GST_OBJECT_LOCK (object);
if ((binding = gst_object_find_control_binding (object, property_name))) {
- g_object_ref (binding);
+ gst_object_ref (binding);
}
GST_OBJECT_UNLOCK (object);
GList *last;
new_list = g_list_alloc ();
- new_list->data = g_object_ref ((GObject *) list->data);
+ new_list->data = gst_object_ref (list->data);
new_list->prev = NULL;
last = new_list;
list = list->next;
last->next = g_list_alloc ();
last->next->prev = last;
last = last->next;
- last->data = g_object_ref ((GObject *) list->data);
+ last->data = gst_object_ref (list->data);
list = list->next;
}
last->next = NULL;