[Bug 756738] gst_registry_plugin_filter() and gst_registry_feature_filter() callbacks can't use any API using the registry
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Mar 26 11:22:14 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=756738
Tim-Philipp Müller <t.i.m at zen.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|git master |1.9.1
--- Comment #12 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
commit f02d09c362d119bf79a49275d1cb7a0c1f0f6bc4
Author: Tim-Philipp Müller <tim at centricular.com>
Date: Sat Oct 17 18:01:47 2015 +0100
registry: allow plugin and feature filter funcs to call registry API
Don't keep the registry locked whilst iterating over the plugins
or features with a filter function. This would deadlock if the
callback tried to access the registry from the function. Instead,
make a copy of the feature/plugin list and then filter it without
holding the registry lock. This is still considerably faster than
the alternative which would be to use a GstIterator.
https://bugzilla.gnome.org/show_bug.cgi?id=756738
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list