mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
registry: fix compilation with --disable-registry
__registry_reuse_plugin_scanner is only defined when GST_DISABLE_REGISTRY is not defined. gstregistry.c: In function 'gst_registry_scan_plugin_file': gstregistry.c:1131:8: error: '__registry_reuse_plugin_scanner' undeclared (first use in this function) https://bugzilla.gnome.org/show_bug.cgi?id=667284
This commit is contained in:
parent
ec7a7c318a
commit
609e618e70
1 changed files with 2 additions and 1 deletions
|
@ -1127,11 +1127,12 @@ gst_registry_scan_plugin_file (GstRegistryScanContext * context,
|
|||
gst_object_unref (newplugin);
|
||||
changed = TRUE;
|
||||
}
|
||||
|
||||
#ifndef GST_DISABLE_REGISTRY
|
||||
if (!__registry_reuse_plugin_scanner) {
|
||||
clear_scan_context (context);
|
||||
context->helper_state = REGISTRY_SCAN_HELPER_NOT_STARTED;
|
||||
}
|
||||
#endif
|
||||
|
||||
return changed;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue