mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
gst_plugin_load_file: force plugin reload if diff filename
If a file includes a new version of a plugin that exits in the registry, the output of gst-inspect is incorrect. The output has the correct version but incorrect filename, and element description. This seems to have also fixed some documentation issues. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2357>
This commit is contained in:
parent
8769bec70c
commit
6464039946
4 changed files with 5 additions and 5 deletions
|
@ -211889,7 +211889,7 @@
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
"controllable": false,
|
"controllable": false,
|
||||||
"default": "true",
|
"default": "false",
|
||||||
"mutable": "null",
|
"mutable": "null",
|
||||||
"readable": true,
|
"readable": true,
|
||||||
"type": "gboolean",
|
"type": "gboolean",
|
||||||
|
|
|
@ -8565,7 +8565,7 @@
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
"controllable": false,
|
"controllable": false,
|
||||||
"default": "top (2)",
|
"default": "baseline (0)",
|
||||||
"mutable": "null",
|
"mutable": "null",
|
||||||
"readable": true,
|
"readable": true,
|
||||||
"type": "GstBaseTextOverlayVAlign",
|
"type": "GstBaseTextOverlayVAlign",
|
||||||
|
|
|
@ -371,7 +371,7 @@
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
"controllable": false,
|
"controllable": false,
|
||||||
"default": "24",
|
"default": "0",
|
||||||
"max": "2147483647",
|
"max": "2147483647",
|
||||||
"min": "-2147483648",
|
"min": "-2147483648",
|
||||||
"mutable": "null",
|
"mutable": "null",
|
||||||
|
@ -411,7 +411,7 @@
|
||||||
"construct": false,
|
"construct": false,
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
"controllable": false,
|
"controllable": false,
|
||||||
"default": "80",
|
"default": "0",
|
||||||
"max": "2147483647",
|
"max": "2147483647",
|
||||||
"min": "-2147483648",
|
"min": "-2147483648",
|
||||||
"mutable": "null",
|
"mutable": "null",
|
||||||
|
|
|
@ -819,7 +819,7 @@ _priv_gst_plugin_load_file_for_registry (const gchar * filename,
|
||||||
/* already loaded */
|
/* already loaded */
|
||||||
g_mutex_unlock (&gst_plugin_loading_mutex);
|
g_mutex_unlock (&gst_plugin_loading_mutex);
|
||||||
return plugin;
|
return plugin;
|
||||||
} else {
|
} else if (g_strcmp0 (plugin->filename, filename) == 0) {
|
||||||
/* load plugin and update fields */
|
/* load plugin and update fields */
|
||||||
new_plugin = FALSE;
|
new_plugin = FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue