summaryrefslogtreecommitdiffstats
path: root/gst/law
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-02-13 14:39:29 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2009-02-23 11:09:53 +0100
commit8c9931e13ef5b7dbe2179d245ae65999cad7f035 (patch)
tree7dcdb6f90055866dd6fcfcf61749659554fd48f2 /gst/law
parentef33cf891f7a9f97f178169adb87aa3695bf9b2b (diff)
Don't use GST_ERROR for non-error cases.
Turn a GST_ERROR line into a GST_DEBUG line so that we don't spam the log with errors. Fixes #570781.
Diffstat (limited to 'gst/law')
-rw-r--r--gst/law/alaw-decode.c3
-rw-r--r--gst/law/mulaw-decode.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/gst/law/alaw-decode.c b/gst/law/alaw-decode.c
index cead1444..f308cf70 100644
--- a/gst/law/alaw-decode.c
+++ b/gst/law/alaw-decode.c
@@ -300,7 +300,8 @@ not_negotiated:
alloc_failed:
{
gst_buffer_unref (buffer);
- GST_ERROR_OBJECT (alawdec, "pad alloc failed");
+ GST_DEBUG_OBJECT (alawdec, "pad alloc failed %d (%s)", ret,
+ gst_flow_get_name (ret));
return ret;
}
}
diff --git a/gst/law/mulaw-decode.c b/gst/law/mulaw-decode.c
index a1727d9c..83b38397 100644
--- a/gst/law/mulaw-decode.c
+++ b/gst/law/mulaw-decode.c
@@ -264,7 +264,8 @@ not_negotiated:
}
alloc_failed:
{
- GST_ERROR_OBJECT (mulawdec, "pad alloc failed");
+ GST_DEBUG_OBJECT (mulawdec, "pad alloc failed %d (%s)", ret,
+ gst_flow_get_name (ret));
gst_buffer_unref (buffer);
return ret;
}