From 5d2421b8c8e716c7ce618b483515fd3eeca59fe5 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Thu, 30 May 2024 12:08:57 +0200 Subject: [PATCH] gst_debug: Add missing gst_debug_log_id_literal() dummy with gst_debug=false E.g. gst_debug_log_literal() already has a dummy variant. gst_debug_log_id_literal() is simply missing, which can cause link errors for project using gstreamer with gst_debug=false. Part-of: --- subprojects/gstreamer/gst/gstinfo.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/subprojects/gstreamer/gst/gstinfo.c b/subprojects/gstreamer/gst/gstinfo.c index dd38bf9859..867425958d 100644 --- a/subprojects/gstreamer/gst/gstinfo.c +++ b/subprojects/gstreamer/gst/gstinfo.c @@ -2719,6 +2719,13 @@ gst_debug_log_literal (GstDebugCategory * category, GstDebugLevel level, { } +void +gst_debug_log_id_literal (GstDebugCategory * category, GstDebugLevel level, + const gchar * file, const gchar * function, gint line, + const gchar * id, const gchar * message_string) +{ +} + const gchar * gst_debug_message_get (GstDebugMessage * message) {