[Bug 795750] New: Missing features in case a feature moves to another filename

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 2 11:26:36 UTC 2018


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

            Bug ID: 795750
           Summary: Missing features in case a feature moves to another
                    filename
    Classification: Platform
           Product: GStreamer
           Version: 1.14.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: reiter.christoph at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 371609
  --> https://bugzilla.gnome.org/attachment.cgi?id=371609&action=edit
gstelementfactory: Fix missing features in case a feature  moves to another
filename

In case a plugin filename was renamed with the plugin being in the registry
cache
the features where not loaded after the rename:

1) Cache of old/gone filename was loaded, features added
2) New filename was loaded, features where not added because
   they were already found in the registry.
3) In the end stale cache entries for files which are no longer there
   are removed, including the wanted features.
4) The cache gets updated without the features.

Fix this by also checking at (2) that the found feature is from the loaded
plugin
and not from some stale cache entry.

This affected directsoundsink where libgstdirectsoundsink.dll was renamed
to libgstdirectsound.dll, losing the directsoundsink element in the process.

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