[Bug 604094] registry: do not remove features when removing a cached plugin that no longer is present
bugzilla at gnome.org
Sun Apr 24 04:25:01 PDT 2011
GStreamer | gstreamer (core) | git
--- Comment #11 from Håvard Graff (hgr) <havard.graff at tandberg.com> 2011-04-24 11:15:33 UTC ---
(In reply to comment #10)
> Håvard: I think your assumptions are wrong here ("if the plugin was not there
> in the first place, it could not have registered any features, since the
> registering of features happens through the plugin."): in this case the
> features have been created when reading the registry cache at startup.
I might be wrong, but I remember that there is a difference between reading the
feature-names from the registry, and actually registering them. I found that
the actual registering could *only* happen through the plugin itself, and the
registry only kept the names as a list of what can be there.
Hence any plugin found through the registry would still have the
register-function called on them, registering all the features. (elements)
So my argument was that if a plugin was not found, there would be no features
registered for that plugin, even if they were listed in the registry. If that
is the case, the idea of removing features for a plugin that is not found does
not make sense.
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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