Commit 1243b76d authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

rndbuffersize: Don't use GST_FLOW_IS_FATAL()

parent 78eca34a
...@@ -310,7 +310,7 @@ push_failed: ...@@ -310,7 +310,7 @@ push_failed:
if (ret == GST_FLOW_UNEXPECTED) { if (ret == GST_FLOW_UNEXPECTED) {
GST_DEBUG_OBJECT (self, "eos"); GST_DEBUG_OBJECT (self, "eos");
gst_pad_push_event (self->srcpad, gst_event_new_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, GST_ELEMENT_ERROR (self, STREAM, FAILED,
("Internal data stream error."), ("Internal data stream error."),
("streaming stopped, reason: %s", gst_flow_get_name (ret))); ("streaming stopped, reason: %s", gst_flow_get_name (ret)));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment