From b3a413b41daab7bd216faff06529ae1c9871f371 Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Wed, 25 Oct 2023 13:58:55 +0100 Subject: [PATCH] debugutils: Ensure we always expose a bin_to_dot_data implementation Fixes a linking issue when building with `-Dgst_debug=false`. Part-of: --- subprojects/gstreamer/gst/gstdebugutils.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/subprojects/gstreamer/gst/gstdebugutils.c b/subprojects/gstreamer/gst/gstdebugutils.c index 8ca334a..b646eef 100644 --- a/subprojects/gstreamer/gst/gstdebugutils.c +++ b/subprojects/gstreamer/gst/gstdebugutils.c @@ -922,6 +922,13 @@ gst_debug_bin_to_dot_file_with_ts (GstBin * bin, } #else /* !GST_DISABLE_GST_DEBUG */ #ifndef GST_REMOVE_DISABLED + +gchar * +gst_debug_bin_to_dot_data (GstBin * bin, GstDebugGraphDetails details) +{ + return g_strdup (""); +} + void gst_debug_bin_to_dot_file (GstBin * bin, GstDebugGraphDetails details, const gchar * file_name) -- 2.7.4