mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-19 12:45:54 +00:00
pluginloader: When a plugin is blacklisted, output a GST_ERROR line.
This commit is contained in:
parent
adfb63837c
commit
de199b4d8d
1 changed files with 2 additions and 1 deletions
|
@ -255,8 +255,9 @@ restart:
|
||||||
PendingPluginEntry *entry = (PendingPluginEntry *) (cur->data);
|
PendingPluginEntry *entry = (PendingPluginEntry *) (cur->data);
|
||||||
|
|
||||||
if (!plugin_loader_load_and_sync (l, entry)) {
|
if (!plugin_loader_load_and_sync (l, entry)) {
|
||||||
GST_INFO ("AHA! %s crashes on loading", entry->filename);
|
|
||||||
/* Create dummy plugin entry to block re-scanning this file */
|
/* Create dummy plugin entry to block re-scanning this file */
|
||||||
|
GST_ERROR ("Plugin file %s failed to load. Blacklisting",
|
||||||
|
entry->filename);
|
||||||
plugin_loader_create_blacklist_plugin (l, entry);
|
plugin_loader_create_blacklist_plugin (l, entry);
|
||||||
l->got_plugin_details = TRUE;
|
l->got_plugin_details = TRUE;
|
||||||
/* Now remove this crashy plugin from the head of the list */
|
/* Now remove this crashy plugin from the head of the list */
|
||||||
|
|
Loading…
Reference in a new issue