From 39d486e526ec06c9265a51fca29923bffda3e55a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 24 Feb 2011 13:55:35 +0100 Subject: [PATCH] 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. --- gst/gstbuffer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/gstbuffer.h b/gst/gstbuffer.h index 4ad4c9e696..61b1273527 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]; };