If object was floating, the GST_OBJECT_FLOATING flag is removed
and object is unreffed. When object was not floating,
this function does nothing.
Any newly created object has a refcount of 1 and is floating.
This function should be used when creating a new object to
symbolically 'take ownership' of object. This done by first doing a
gst_object_ref() to keep a reference to object and then gst_object_sink()
to remove and unref any floating references to object.
Use gst_object_set_parent() to have this done for you.
MT safe. This function grabs and releases object lock.
If object was floating, the GST_OBJECT_FLOATING flag is removed and object is unreffed. When object was not floating, this function does nothing. Any newly created object has a refcount of 1 and is floating. This function should be used when creating a new object to symbolically 'take ownership' of object. This done by first doing a gst_object_ref() to keep a reference to object and then gst_object_sink() to remove and unref any floating references to object. Use gst_object_set_parent() to have this done for you. MT safe. This function grabs and releases object lock.