[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 Oct 17 02:52:02 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=756738

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
I don't know, this doesn't really strike me as something that usually requires
thread-safe iteration. Who wants to iterate the registry using GstIterator?

We could just retrieve a full GList of plugins/features (with ref) in these
functions at the start (with lock held), and then iterate over that retrieved
list instead of the original list in the registry. I think that's what the user
would expect, and the extra overhead seems negligible.

-- 
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