buffer: remove subbuffer subclass
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 2 Dec 2009 18:47:46 +0000 (19:47 +0100)
committerWim Taymans <wim@metal.(none)>
Fri, 25 Dec 2009 23:02:17 +0000 (00:02 +0100)
commit67bd9529d0eaa169a2361fde91f4948ebaedbb98
tree7906265f4ffec7dec464e6b609c6744cf24cc74b
parentd7ecbc6ac300feccb17e88a4b3bc7723bb88eb53
buffer: remove subbuffer subclass

Move the parent buffer pointer into the GstBuffer struct so that we can
remove the subbuffer class and type. This is interesting because it allows us to
more naturally implement methods to get the real type and parent
of a subbuffer (See #545501).
It should also be slightly faster because there is no extra object hierarchy to
initialize and free.
gst/gstbuffer.c
gst/gstbuffer.h