mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
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:
parent
ef33cf891f
commit
8c9931e13e
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue