gstplay: don't print error log in warning_cb

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2069>
This commit is contained in:
Haihua Hu 2022-03-30 12:01:20 +08:00 committed by GStreamer Marge Bot
parent 599257bf10
commit 630acb40f0

View file

@ -1042,7 +1042,7 @@ warning_cb (G_GNUC_UNUSED GstBus * bus, GstMessage * msg, gpointer user_data)
play_err = play_err =
g_error_new_literal (GST_PLAY_ERROR, GST_PLAY_ERROR_FAILED, full_message); 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); g_quark_to_string (err->domain), err->code);
api_bus_post_message (self, GST_PLAY_MESSAGE_WARNING, api_bus_post_message (self, GST_PLAY_MESSAGE_WARNING,