[Bug 648972] registry: add/remove functions inconsistency

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 20 05:07:30 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=648972
  GStreamer | gstreamer (core) | unspecified

--- Comment #7 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2014-01-20 13:07:28 UTC ---
The problem persists in 1.0. The issue is that gst_registry_remove_plugin
removes the plugin and its associated features, but gst_registry_add_plugin
just adds the plugin without reloading the features. So the remove/add pair is
a bit
asymmetric.

I'm not sure how (and if we want) to fix this. I haven't touched gstregistry
code ever, so I don't know the details. The use case I had was for testing
behavior of camerabin when some elements were missing.

IMHO we should at least mention at the _add_plugin documentation mention that
it won't automatically add the plugin features back and maybe add an explicit
function for loading the plugin features, as the GstPlugin is opaque and gives
the user no access to GstPluginDesc that has the init function pointer.

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