[0.11] gstreamer: Add new GstMapInfo

Wim Taymans wtay at kemper.freedesktop.org
Wed Jan 25 03:42:29 PST 2012


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

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Fri Jan 20 14:23:57 2012 +0100

Add new GstMapInfo

Use a structure to hold info about the mapping. The application then keeps track
of this state and we can use it to unmap the memory again later.

---

 docs/manual/advanced-dataaccess.xml   |   20 +--
 gst/gstbuffer.c                       |  261 +++++++++++++++++----------------
 gst/gstbuffer.h                       |    6 +-
 gst/gstmemory.c                       |   75 +++++-----
 gst/gstmemory.h                       |   22 +++-
 gst/gstvalue.c                        |   36 +++---
 libs/gst/base/gstadapter.c            |   76 +++++-----
 libs/gst/base/gstbasetransform.c      |   15 +-
 libs/gst/base/gsttypefindhelper.c     |   19 +--
 libs/gst/check/gstcheck.c             |   40 +++---
 plugins/elements/gstfakesink.c        |    9 +-
 plugins/elements/gstfakesrc.c         |   14 +-
 plugins/elements/gstfdsink.c          |   23 ++--
 plugins/elements/gstfdsrc.c           |   12 +-
 plugins/elements/gstfilesink.c        |   17 +-
 plugins/elements/gstfilesrc.c         |   13 +-
 plugins/elements/gstidentity.c        |   22 ++--
 plugins/elements/gstqueue2.c          |   29 ++--
 tests/check/elements/filesink.c       |    8 +-
 tests/check/elements/filesrc.c        |   19 +--
 tests/check/elements/identity.c       |    5 +-
 tests/check/elements/multiqueue.c     |   27 ++--
 tests/check/gst/gstbuffer.c           |  138 +++++++++---------
 tests/check/gst/gstmemory.c           |  209 +++++++++++++--------------
 tests/check/gst/gstmeta.c             |   10 +-
 tests/check/gst/gstpad.c              |   15 +-
 tests/check/gst/gststructure.c        |    6 +-
 tests/check/gst/gstvalue.c            |    5 +-
 tests/check/libs/adapter.c            |   93 ++++++------
 tests/check/libs/bitreader.c          |   15 +-
 tests/check/libs/bytereader.c         |   15 +-
 tests/examples/adapter/adapter_test.c |    9 +-
 32 files changed, 646 insertions(+), 637 deletions(-)

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


More information about the gstreamer-commits mailing list