summaryrefslogtreecommitdiff
path: root/gst/nsf
diff options
context:
space:
mode:
Diffstat (limited to 'gst/nsf')
-rw-r--r--gst/nsf/gstnsf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/nsf/gstnsf.c b/gst/nsf/gstnsf.c
index 63ab00141..9398053c8 100644
--- a/gst/nsf/gstnsf.c
+++ b/gst/nsf/gstnsf.c
@@ -342,12 +342,12 @@ pause:
if (ret == GST_FLOW_UNEXPECTED) {
/* perform EOS logic, FIXME, segment seek? */
- gst_pad_push_event (pad, gst_event_new_eos ());
+ gst_pad_push_event (pad, gst_event_eos_new ());
} else if (ret == GST_FLOW_NOT_LINKED || ret < GST_FLOW_UNEXPECTED) {
/* for fatal errors we post an error message */
GST_ELEMENT_ERROR (nsfdec, STREAM, FAILED,
(NULL), ("streaming task paused, reason %s", reason));
- gst_pad_push_event (pad, gst_event_new_eos ());
+ gst_pad_push_event (pad, gst_event_eos_new ());
}
goto done;
}