From 4376506183f07d63a44090eb13046d55ccd667d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 21 Sep 2010 12:27:56 +0200 Subject: [PATCH] spc: Don't use GST_FLOW_IS_FATAL() --- ext/spc/gstspc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/spc/gstspc.c b/ext/spc/gstspc.c index 0facad2e4e..2c74a9c564 100644 --- a/ext/spc/gstspc.c +++ b/ext/spc/gstspc.c @@ -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 ()); } }