From 477d330deee756986cea8d80d24c3ef0aa91618e Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Fri, 13 Dec 2024 15:51:20 +0300 Subject: [PATCH] appsrc: Decrease log level for item drop Leaky appsrc feature was implemented similar to queue. Dropping item is a normal case because it is configured so. Warning messages is too severe for this event. Level changed to DEBUG just like in queue. Part-of: --- subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c b/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c index f8e2d030b4..5365f053fb 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/app/gstappsrc.c @@ -2470,7 +2470,7 @@ gst_app_src_push_internal (GstAppSrc * appsrc, GstBuffer * buffer, break; } - GST_WARNING_OBJECT (appsrc, "Dropping old item %" GST_PTR_FORMAT, item); + GST_DEBUG_OBJECT (appsrc, "Dropping old item %" GST_PTR_FORMAT, item); gst_app_src_update_queued_pop (appsrc, item, FALSE); gst_mini_object_unref (item);