What is the EXCLUSIVE access mode in gst_mini_object_lock()
cee1
fykcee1 at gmail.com
Mon Oct 19 07:50:49 PDT 2015
Hi all,
>From the source code, It seems a mini object can be "shared" under
__EXCLUSIVE__ access mode?
"""
http://cgit.freedesktop.org/gstreamer/gstreamer/tree/gst/gstminiobject.c#n190
gst_mini_object_lock()
...
if (access_mode & GST_LOCK_FLAG_EXCLUSIVE) {
/* shared ref */
newstate += SHARE_ONE;
access_mode &= ~GST_LOCK_FLAG_EXCLUSIVE;
}
"""
--
Regards,
- cee1
More information about the gstreamer-devel
mailing list