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.
This commit is contained in:
Wim Taymans 2009-02-13 14:39:29 +01:00
parent ef33cf891f
commit 8c9931e13e
2 changed files with 4 additions and 2 deletions

View file

@ -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;
}
}

View file

@ -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;
}