diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-02-24 13:55:35 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-02-24 13:55:35 +0100 |
commit | 39d486e526ec06c9265a51fca29923bffda3e55a (patch) | |
tree | 0bc493dbd676a52029d75bd4c146cfa542e8fcde | |
parent | 7e769a32b8450bda359fdc73a2ba4cba17f07aba (diff) |
buffer: add owner private as intermediate solutionminiobject2
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.
-rw-r--r-- | gst/gstbuffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/gstbuffer.h b/gst/gstbuffer.h index 4ad4c9e69..61b127352 100644 --- a/gst/gstbuffer.h +++ b/gst/gstbuffer.h @@ -285,6 +285,8 @@ struct _GstBuffer { GFreeFunc free_func; GstBuffer *parent; + gpointer owner_priv; + /*< private >*/ gpointer _gst_reserved[GST_PADDING]; }; |