[Bug 756738] New: 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 00:29:26 PDT 2015


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

            Bug ID: 756738
           Summary: gst_registry_plugin_filter() and
                    gst_registry_feature_filter() callbacks can't use any
                    API using the registry
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: slomo at coaxion.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

See https://bugzilla.mozilla.org/show_bug.cgi?id=1215579

Problem is that both functions are taking the registry lock for the whole time,
and any other registry API would do that too, leading to a deadlock. You might
want to e.g. call gst_plugin_feature_check_version() in the callback, which is
currently not possible.

We should document this and probably provide functions around GstIterator too.

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