gst: tracer: Initialize tracing infrastructure even if the debug system is not compiled in

There is a separate #define for the tracing infrastructure.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2467

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4402>
This commit is contained in:
Sebastian Dröge 2023-04-12 10:58:31 +03:00 committed by GStreamer Marge Bot
parent af86c4b80e
commit 16ce61fb57

View file

@ -812,7 +812,7 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
* environment variable */
_priv_gst_plugin_feature_rank_initialize ();
#ifndef GST_DISABLE_GST_DEBUG
#ifndef GST_DISABLE_GST_TRACER_HOOKS
_priv_gst_tracing_init ();
#endif