projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e769a3
)
buffer: add owner private as intermediate solution
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 24 Feb 2011 12:55:35 +0000
(13:55 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 24 Feb 2011 12:55:35 +0000
(13:55 +0100)
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
patch
|
blob
|
history
diff --git
a/gst/gstbuffer.h
b/gst/gstbuffer.h
index
4ad4c9e
..
61b1273
100644
(file)
--- 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];
};