memory: make _new_wrapped take user_data and notify
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 22 Feb 2012 01:02:50 +0000 (02:02 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 22 Feb 2012 01:10:21 +0000 (02:10 +0100)
commit7b0e4f27fb027e982dc80d25b4e853f0571dd2d0
tree5795aa4e8622b8604d7e96dbb315443f536b893f
parent654b0744774b198396101b148da4208ff30f79d3
memory: make _new_wrapped take user_data and notify

Make it possible to configure a GDestroyNotify and user_data for
gst_memory_new_wrapped() this allows for more flexible wrapping of foreign
memory blocks.
12 files changed:
gst/gstbuffer.c
gst/gstmemory.c
gst/gstmemory.h
libs/gst/base/gstadapter.c
libs/gst/base/gstbaseparse.c
libs/gst/base/gstbytewriter.c
plugins/elements/gstfakesrc.c
tests/check/gst/gstbuffer.c
tests/check/gst/gstmemory.c
tests/check/libs/bitreader.c
tests/check/libs/bytereader.c
tests/check/libs/typefindhelper.c