mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
registry: ignore old libgstvalve.so and libgstselector.so plugins to minimize upgrade pain
Ignore plugins which have been moved into coreelements, so it's still possible to just upgrade GStreamer core without having to upgrade the whole stack.
This commit is contained in:
parent
cbdff26c10
commit
6e2db6374e
1 changed files with 11 additions and 0 deletions
|
@ -1161,6 +1161,17 @@ gst_registry_scan_path_level (GstRegistryScanContext * context,
|
||||||
GST_LOG_OBJECT (context->registry, "file %s looks like a possible module",
|
GST_LOG_OBJECT (context->registry, "file %s looks like a possible module",
|
||||||
filename);
|
filename);
|
||||||
|
|
||||||
|
/* try to avoid unnecessary plugin-move pain */
|
||||||
|
if (g_str_has_prefix (dirent, "libgstvalve") ||
|
||||||
|
g_str_has_prefix (dirent, "libgstselector")) {
|
||||||
|
GST_WARNING_OBJECT (context->registry, "ignoring old plugin %s which "
|
||||||
|
"has been merged into the corelements plugin", filename);
|
||||||
|
/* Plugin will be removed from cache after the scan completes if it
|
||||||
|
* is still marked 'cached' */
|
||||||
|
g_free (filename);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
/* plug-ins are considered unique by basename; if the given name
|
/* plug-ins are considered unique by basename; if the given name
|
||||||
* was already seen by the registry, we ignore it */
|
* was already seen by the registry, we ignore it */
|
||||||
plugin = gst_registry_lookup_bn (context->registry, dirent);
|
plugin = gst_registry_lookup_bn (context->registry, dirent);
|
||||||
|
|
Loading…
Reference in a new issue