From d55c2b016a39c9f5e02fb3cebafd5699340bf160 Mon Sep 17 00:00:00 2001 From: Lubosz Sarnecki Date: Wed, 16 Dec 2020 14:26:17 +0100 Subject: [PATCH] d/vf: Use static logging if no object is provided. Found by clang11 warning. --- src/xrt/drivers/vf/vf_driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xrt/drivers/vf/vf_driver.c b/src/xrt/drivers/vf/vf_driver.c index 52de4e0bc..f2349f5b6 100644 --- a/src/xrt/drivers/vf/vf_driver.c +++ b/src/xrt/drivers/vf/vf_driver.c @@ -343,9 +343,9 @@ print_gst_error(GstMessage *message) gchar *dbg_info = NULL; gst_message_parse_error(message, &err, &dbg_info); - V_ERROR("ERROR from element %s: %s\n", GST_OBJECT_NAME(message->src), + U_LOG_E("ERROR from element %s: %s\n", GST_OBJECT_NAME(message->src), err->message); - V_ERROR("Debugging info: %s\n", (dbg_info) ? dbg_info : "none"); + U_LOG_E("Debugging info: %s\n", (dbg_info) ? dbg_info : "none"); g_error_free(err); g_free(dbg_info); }