summaryrefslogtreecommitdiff
path: root/ext/spc/gstspc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spc/gstspc.c')
-rw-r--r--ext/spc/gstspc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/spc/gstspc.c b/ext/spc/gstspc.c
index 2c74a9c56..0e6e5fe0a 100644
--- a/ext/spc/gstspc.c
+++ b/ext/spc/gstspc.c
@@ -266,7 +266,7 @@ gst_spc_dec_src_event (GstPad * pad, GstEvent * event)
gint64 start, stop;
gboolean flush;
- gst_event_parse_seek (event, &rate, &format, &flags, &start_type, &start,
+ gst_event_seek_parse (event, &rate, &format, &flags, &start_type, &start,
&stop_type, &stop);
if (format != GST_FORMAT_TIME) {
@@ -295,7 +295,7 @@ gst_spc_dec_src_event (GstPad * pad, GstEvent * event)
flush = (flags & GST_SEEK_FLAG_FLUSH) == GST_SEEK_FLAG_FLUSH;
if (flush) {
- gst_pad_push_event (spc->srcpad, gst_event_new_flush_start ());
+ gst_pad_push_event (spc->srcpad, gst_event_flush_start_new ());
} else {
gst_pad_stop_task (spc->srcpad);
}
@@ -308,7 +308,7 @@ gst_spc_dec_src_event (GstPad * pad, GstEvent * event)
}
if (flush) {
- gst_pad_push_event (spc->srcpad, gst_event_new_flush_stop ());
+ gst_pad_push_event (spc->srcpad, gst_event_flush_stop_new ());
}
if (stop == GST_CLOCK_TIME_NONE)
@@ -441,13 +441,13 @@ spc_play (GstPad * pad)
if (flow_return <= GST_FLOW_UNEXPECTED
|| flow_return == GST_FLOW_NOT_LINKED) {
- gst_pad_push_event (pad, gst_event_new_eos ());
+ gst_pad_push_event (pad, gst_event_eos_new ());
}
}
if (position >= end) {
gst_pad_pause_task (pad);
- gst_pad_push_event (pad, gst_event_new_eos ());
+ gst_pad_push_event (pad, gst_event_eos_new ());
}
gst_object_unref (spc);