[0.11] gstreamer: memory: make _new_wrapped take user_data and notify

Wim Taymans wtay at kemper.freedesktop.org
Tue Feb 21 17:12:45 PST 2012


Module: gstreamer
Branch: 0.11
Commit: 7b0e4f27fb027e982dc80d25b4e853f0571dd2d0
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=7b0e4f27fb027e982dc80d25b4e853f0571dd2d0

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Wed Feb 22 02:02:50 2012 +0100

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.

---

 gst/gstbuffer.c                   |    2 +-
 gst/gstmemory.c                   |   36 ++++++++++++++++++++++--------------
 gst/gstmemory.h                   |    5 +++--
 libs/gst/base/gstadapter.c        |    2 +-
 libs/gst/base/gstbaseparse.c      |    2 +-
 libs/gst/base/gstbytewriter.c     |    2 +-
 plugins/elements/gstfakesrc.c     |    2 +-
 tests/check/gst/gstbuffer.c       |    4 ++--
 tests/check/gst/gstmemory.c       |    3 ++-
 tests/check/libs/bitreader.c      |    3 ++-
 tests/check/libs/bytereader.c     |    3 ++-
 tests/check/libs/typefindhelper.c |    2 +-
 12 files changed, 39 insertions(+), 27 deletions(-)

Diff:   http://cgit.freedesktop.org/gstreamer/gstreamer/diff/?id=7b0e4f27fb027e982dc80d25b4e853f0571dd2d0


More information about the gstreamer-commits mailing list