gst: tracer: Initialize tracing infrastructure even if the debug system is not compil...
authorSebastian Dröge <sebastian@centricular.com>
Wed, 12 Apr 2023 07:58:31 +0000 (10:58 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 14 Apr 2023 07:35:34 +0000 (07:35 +0000)
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/4424>

subprojects/gstreamer/gst/gst.c

index 5d8788f..74d6ae8 100644 (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