unregister + register plugin makes plugin unavailable to playbin
Version 1.14.1 on Windows.
Suppose I have a working plugin FOO
that works with playbin
.
AFter initializing gstreamer, I call
auto reg = gst_registry_get ();
auto plugin = gst_registry_find_plugin (reg, "FOO");
if (plugin){
gst_registry_remove_plugin(reg, plugin);
gst_registry_add_plugin(reg,plugin);
}
and the plugin's elements are now no longer available for auto-plugging in playbin
.