summaryrefslogtreecommitdiff
path: root/ext/celt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/celt')
-rw-r--r--ext/celt/gstceltdec.c4
-rw-r--r--ext/celt/gstceltenc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/celt/gstceltdec.c b/ext/celt/gstceltdec.c
index 2c43fddab..c427a0bf6 100644
--- a/ext/celt/gstceltdec.c
+++ b/ext/celt/gstceltdec.c
@@ -438,7 +438,7 @@ celt_dec_src_event (GstPad * pad, GstEvent * event)
gint64 cur, stop;
gint64 tcur, tstop;
- gst_event_parse_seek (event, &rate, &format, &flags, &cur_type, &cur,
+ gst_event_seek_parse (event, &rate, &format, &flags, &cur_type, &cur,
&stop_type, &stop);
/* we have to ask our peer to seek to time here as we know
@@ -454,7 +454,7 @@ celt_dec_src_event (GstPad * pad, GstEvent * event)
break;
/* then seek with time on the peer */
- real_seek = gst_event_new_seek (rate, GST_FORMAT_TIME,
+ real_seek = gst_event_seek_new (rate, GST_FORMAT_TIME,
flags, cur_type, tcur, stop_type, tstop);
GST_LOG_OBJECT (dec, "seek to %" GST_TIME_FORMAT, GST_TIME_ARGS (tcur));
diff --git a/ext/celt/gstceltenc.c b/ext/celt/gstceltenc.c
index c2011b31c..fa8a58dac 100644
--- a/ext/celt/gstceltenc.c
+++ b/ext/celt/gstceltenc.c
@@ -789,7 +789,7 @@ gst_celt_enc_sinkevent (GstPad * pad, GstEvent * event)
GstTagSetter *setter = GST_TAG_SETTER (enc);
const GstTagMergeMode mode = gst_tag_setter_get_tag_merge_mode (setter);
- gst_event_parse_tag (event, &list);
+ gst_event_tag_parse (event, &list);
gst_tag_setter_merge_tags (setter, list, mode);
res = gst_pad_event_default (pad, event);
break;