GNOME Bugzilla – Bug 795750
Missing features in case a feature moves to another filename
Last modified: 2018-11-03 12:46:13 UTC
Created attachment 371609 [details] [review] 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.
ML discussion for the same problem: https://lists.freedesktop.org/archives/gstreamer-devel/2018-April/067536.html
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/290.