registry: when removing a cached-but-no-longer-existing plugin, only remove features...
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 24 Apr 2011 08:58:53 +0000 (09:58 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 24 Apr 2011 10:27:56 +0000 (11:27 +0100)
commitf9625dbe5531c66be59088f032561ea76e3fc83b
tree79015e9b1c01a2282185ecfc87a4061c1fe45c9a
parent4926ce31c7b2fb1b42ddc12d502dbb99d41463b5
registry: when removing a cached-but-no-longer-existing plugin, only remove features that belong to it

When a plugin file no longer exists, e.g. because it's been removed or
renamed, don't remove all features in the registry based on the *name*
of the plugin they belong to, but only remove those who actually belong
to that particular plugin (object/pointer).

This fixes issues of plugin features disappearing when a plugin .so file
is renamed.

https://bugzilla.gnome.org/show_bug.cgi?id=604094
gst/gstregistry.c