gst-plugin-scanner: Do not create tracers when inspecting plugins

Ensuring that GST_TRACERS is not set in that process

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8086>
This commit is contained in:
Thibault Saunier 2024-12-06 09:16:57 -03:00 committed by GStreamer Marge Bot
parent d929df61dd
commit 619b1df389

View file

@ -67,6 +67,8 @@ main (int argc, char *argv[])
my_argv[0] = argv[0];
my_argv[1] = (char *) "--gst-disable-registry-update";
g_unsetenv ("GST_TRACERS");
#ifndef GST_DISABLE_REGISTRY
_gst_disable_registry_cache = TRUE;
#endif