diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-02-14 17:56:05 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-02-28 19:26:35 +0000 |
commit | 7087da96dc850a931f7fca4c036fb0a2c58f04ac (patch) | |
tree | 98bcd21dd8f7092d7c8f72163dd2017d55d63a3f /gst/law/alaw-decode.c | |
parent | 157531d91e9c5fbff33c4357beba5af31623f35c (diff) |
alawdec, mulawdec: demote some debug messages from ERROR to WARNING or DEBUG
Non-ok flow returns may happen for a variety of perfectly legitimate and expected reasons
(temporarily not linked, seeking, pipeline shutdown), so we really shouldn't spew ERROR
debug messages to stderr in those cases. Fixes #570781. (Seems like someone already took
care of some of these.)
Diffstat (limited to 'gst/law/alaw-decode.c')
-rw-r--r-- | gst/law/alaw-decode.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gst/law/alaw-decode.c b/gst/law/alaw-decode.c index f308cf70..ac4c6df5 100644 --- a/gst/law/alaw-decode.c +++ b/gst/law/alaw-decode.c @@ -293,14 +293,13 @@ gst_alaw_dec_chain (GstPad * pad, GstBuffer * buffer) not_negotiated: { gst_buffer_unref (buffer); - GST_ERROR_OBJECT (alawdec, "no format negotiated"); - ret = GST_FLOW_NOT_NEGOTIATED; - return ret; + GST_WARNING_OBJECT (alawdec, "no input format set: not-negotiated"); + return GST_FLOW_NOT_NEGOTIATED; } alloc_failed: { gst_buffer_unref (buffer); - GST_DEBUG_OBJECT (alawdec, "pad alloc failed %d (%s)", ret, + GST_DEBUG_OBJECT (alawdec, "pad alloc failed, flow: %s", gst_flow_get_name (ret)); return ret; } |