gstreamer/win32/common
Sebastian Dröge 6fa351407a miniobject: Add parent pointers to the miniobject to influence writability
Every container of miniobjects now needs to store itself as parent in
the child object, and remove itself again at a later time.

A miniobject is only writable if there is at most one parent, and that
parent is writable itself, and if the reference count of the miniobject
is 1.

GstBuffer (for memories), GstBufferList (for buffers) and GstSample (for
caps, buffer, bufferlist) was updated accordingly.

Without this it was possible to have e.g. a bufferlist with refcount 2
in two places, modifying the same buffer with refcount 1 at the same
time.

https://bugzilla.gnome.org/show_bug.cgi?id=796692
2018-07-09 09:45:45 +02:00
..
libgstbase.def base: Add processing deadline API to win32 def 2018-07-07 09:17:27 -04:00
libgstcontroller.def controller: Export boxed type copy/free functions for GstControlPoint 2017-06-20 10:00:16 +03:00
libgstnet.def netaddressmeta: gst_buffer_get_net_address_meta() as function 2015-10-27 12:59:24 +00:00
libgstreamer.def miniobject: Add parent pointers to the miniobject to influence writability 2018-07-09 09:45:45 +02:00