spc: Don't use GST_FLOW_IS_FATAL()

This commit is contained in:
Sebastian Dröge 2010-09-21 12:27:56 +02:00
parent 160b5ee560
commit 4376506183

View file

@ -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 ());
}
}