mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
buffer: add owner private as intermediate solution
Add an owner private field where the owner of a buffer can store some extra information. We can use this to implement most of the subclassing that happens now. Later this will be removed and replaced by arbitrary buffer metadata.
This commit is contained in:
parent
7e769a32b8
commit
39d486e526
1 changed files with 2 additions and 0 deletions
|
@ -285,6 +285,8 @@ struct _GstBuffer {
|
|||
GFreeFunc free_func;
|
||||
GstBuffer *parent;
|
||||
|
||||
gpointer owner_priv;
|
||||
|
||||
/*< private >*/
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue