mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
rndbuffersize: Don't use GST_FLOW_IS_FATAL()
This commit is contained in:
parent
78eca34a6d
commit
1243b76df7
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
|
|
Loading…
Reference in a new issue