memory: group allocation parameters in a struct
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 15 Mar 2012 12:28:28 +0000 (13:28 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 15 Mar 2012 12:42:17 +0000 (13:42 +0100)
commit85c95438411976608ecbfaa798e773512ef842c0
tree865c3f42abb78775aea22a57d84de3d71a37ef3a
parentc93cde0a3052343708769aed9ddb3051cfafde27
memory: group allocation parameters in a struct

Group the extra allocation parameters in a GstAllocationParams structure to make
it easier to deal with them and so that we can extend them later if needed.
Make gst_buffer_new_allocate() take the GstAllocationParams for added
functionality.
Add boxed type for GstAllocationParams.
15 files changed:
gst/gstbuffer.c
gst/gstbuffer.h
gst/gstbufferpool.c
gst/gstcompat.h
gst/gstmemory.c
gst/gstmemory.h
gst/gstvalue.c
libs/gst/base/gstbasesrc.c
libs/gst/base/gstbasetransform.c
plugins/elements/gstfakesrc.c
plugins/elements/gstfdsrc.c
plugins/elements/gstqueue2.c
tests/check/gst/gstbuffer.c
tests/check/gst/gstmemory.c
win32/common/libgstreamer.def