mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
spc: Don't use GST_FLOW_IS_FATAL()
This commit is contained in:
parent
160b5ee560
commit
4376506183
1 changed files with 2 additions and 1 deletions
|
@ -439,7 +439,8 @@ spc_play (GstPad * pad)
|
|||
|
||||
gst_pad_pause_task (pad);
|
||||
|
||||
if (GST_FLOW_IS_FATAL (flow_return) || flow_return == GST_FLOW_NOT_LINKED) {
|
||||
if (flow_return <= GST_FLOW_UNEXPECTED
|
||||
|| flow_return == GST_FLOW_NOT_LINKED) {
|
||||
gst_pad_push_event (pad, gst_event_new_eos ());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue