[gst-cvs] gst-plugins-bad: mxfdemux: Use a RW lock to protect metadata and add all pads at once without a lock held

Sebastian Dröge slomo at kemper.freedesktop.org
Fri May 15 02:49:58 PDT 2009


Module: gst-plugins-bad
Branch: master
Commit: f5ba4904f794a107bc5d1e56f824789bca295383
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=f5ba4904f794a107bc5d1e56f824789bca295383

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Thu May 14 21:20:47 2009 +0200

mxfdemux: Use a RW lock to protect metadata and add all pads at once without a lock held

This makes it possible, among other things, to do a query in the
pad-added callback.

Fixes bug #582656.

---

 gst/mxf/mxfdemux.c |  161 ++++++++++++++++++++++++++++++----------------------
 gst/mxf/mxfdemux.h |    2 +-
 2 files changed, 93 insertions(+), 70 deletions(-)

Diff:   http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/diff/?id=f5ba4904f794a107bc5d1e56f824789bca295383




More information about the Gstreamer-commits mailing list