From 630acb40f075a6f5dfa7abc83581a65ba4233e75 Mon Sep 17 00:00:00 2001 From: Haihua Hu Date: Wed, 30 Mar 2022 12:01:20 +0800 Subject: [PATCH] gstplay: don't print error log in warning_cb Part-of: --- subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c b/subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c index f35a0f18d9..c26cc708f6 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/play/gstplay.c @@ -1042,7 +1042,7 @@ warning_cb (G_GNUC_UNUSED GstBus * bus, GstMessage * msg, gpointer user_data) play_err = g_error_new_literal (GST_PLAY_ERROR, GST_PLAY_ERROR_FAILED, full_message); - GST_ERROR_OBJECT (self, "Warning: %s (%s, %d)", err->message, + GST_WARNING_OBJECT (self, "Warning: %s (%s, %d)", err->message, g_quark_to_string (err->domain), err->code); api_bus_post_message (self, GST_PLAY_MESSAGE_WARNING,