debugutils: Ensure we always expose a bin_to_dot_data implementation

Fixes a linking issue when building with `-Dgst_debug=false`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5550>
This commit is contained in:
Philippe Normand 2023-10-25 13:58:55 +01:00 committed by GStreamer Marge Bot
parent ebd8e160fb
commit 03717697d9

View file

@ -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)