From c802301b6998cad17178c9cdc2f2f73d2bc77efe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 4 Feb 2010 17:43:32 +0000 Subject: [PATCH] pad: don't print WARN debug statements for normal things like EOS --- gst/gstpad.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index f0fa188..eb00610 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -4791,8 +4791,9 @@ not_connected: pull_range_failed: { *buffer = NULL; - GST_CAT_WARNING_OBJECT (GST_CAT_SCHEDULING, pad, - "pullrange failed %s", gst_flow_get_name (ret)); + GST_CAT_LEVEL_LOG (GST_CAT_SCHEDULING, + (ret >= GST_FLOW_UNEXPECTED) ? GST_LEVEL_INFO : GST_LEVEL_WARNING, + pad, "pullrange failed, flow: %s", gst_flow_get_name (ret)); return ret; } dropping: -- 2.7.4