matroska: Quiet a WARN when parsing push mode

This warning was noisy when returning EOS, which is
just used to indicate more data is needed from upstream.
This commit is contained in:
Jan Schmidt 2017-01-17 10:48:57 +11:00
parent d71c06c8fe
commit 1e1d77a18d

View file

@ -127,7 +127,7 @@ gst_ebml_peek_id_length (guint32 * _id, guint64 * _length, guint * _needed,
/* ERRORS */
peek_error:
{
if (ret != GST_FLOW_FLUSHING)
if (ret != GST_FLOW_FLUSHING && ret != GST_FLOW_EOS)
GST_WARNING_OBJECT (el, "peek failed, ret = %s", gst_flow_get_name (ret));
else
GST_DEBUG_OBJECT (el, "peek failed, ret = %s", gst_flow_get_name (ret));