From 1243b76df7811f59fe404eef54b8682e8a96b619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 27 Aug 2010 17:35:47 +0200 Subject: [PATCH] rndbuffersize: Don't use GST_FLOW_IS_FATAL() --- gst/debugutils/rndbuffersize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/debugutils/rndbuffersize.c b/gst/debugutils/rndbuffersize.c index b389786bc8..b64d49226f 100644 --- a/gst/debugutils/rndbuffersize.c +++ b/gst/debugutils/rndbuffersize.c @@ -310,7 +310,7 @@ push_failed: if (ret == GST_FLOW_UNEXPECTED) { GST_DEBUG_OBJECT (self, "eos"); gst_pad_push_event (self->srcpad, gst_event_new_eos ()); - } else if (GST_FLOW_IS_FATAL (ret) || ret == GST_FLOW_NOT_LINKED) { + } else if (ret < GST_FLOW_UNEXPECTED || ret == GST_FLOW_NOT_LINKED) { GST_ELEMENT_ERROR (self, STREAM, FAILED, ("Internal data stream error."), ("streaming stopped, reason: %s", gst_flow_get_name (ret)));