summaryrefslogtreecommitdiff
path: root/ext/vorbis/gstvorbisdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/vorbis/gstvorbisdec.c')
-rw-r--r--ext/vorbis/gstvorbisdec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/vorbis/gstvorbisdec.c b/ext/vorbis/gstvorbisdec.c
index 45c840abb..eec14d3a0 100644
--- a/ext/vorbis/gstvorbisdec.c
+++ b/ext/vorbis/gstvorbisdec.c
@@ -186,7 +186,7 @@ vorbis_dec_src_event (GstPad * pad, GstEvent * event)
gint64 tcur, tstop;
guint32 seqnum;
- 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);
seqnum = gst_event_get_seqnum (event);
gst_event_unref (event);
@@ -199,7 +199,7 @@ vorbis_dec_src_event (GstPad * pad, GstEvent * event)
goto convert_error;
/* 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_event_set_seqnum (real_seek, seqnum);
@@ -339,7 +339,7 @@ vorbis_handle_comment_packet (GstVorbisDec * vd, ogg_packet * packet)
if (vd->initialized) {
gst_pad_push_event (GST_AUDIO_DECODER_SRC_PAD (vd),
- gst_event_new_tag (vd->taglist));
+ gst_event_tag_new (vd->taglist));
vd->taglist = NULL;
} else {
/* Only post them as messages for the time being. *
@@ -374,7 +374,7 @@ vorbis_handle_type_packet (GstVorbisDec * vd)
if (vd->taglist) {
/* The tags have already been sent on the bus as messages. */
gst_pad_push_event (GST_AUDIO_DECODER_SRC_PAD (vd),
- gst_event_new_tag (vd->taglist));
+ gst_event_tag_new (vd->taglist));
vd->taglist = NULL;
}
return GST_FLOW_OK;