diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-05-17 13:09:15 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-05-17 13:09:15 +0100 |
commit | 4793930efb3f80cf83e0ca0546bf71514806a4a8 (patch) | |
tree | 5dec1ab0763ec7da46137add520e31cf879c3ac3 | |
parent | f77db43a2571a172058570964013cf70d5b2576e (diff) |
pad: don't print WARNING debug statements for normal things like EOS, part II
-rw-r--r-- | gst/gstpad.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/gstpad.c b/gst/gstpad.c index 00dca74af8..dce2a46d6c 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -4689,8 +4689,9 @@ dropping: get_range_failed: { *buffer = NULL; - GST_CAT_WARNING_OBJECT (GST_CAT_SCHEDULING, pad, - "getrange 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, "getrange failed, flow: %s", gst_flow_get_name (ret)); return ret; } not_negotiated: |