diff options
Diffstat (limited to 'ext/theora/gsttheoradec.c')
-rw-r--r-- | ext/theora/gsttheoradec.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c index dbdc9925a..be361c2ff 100644 --- a/ext/theora/gsttheoradec.c +++ b/ext/theora/gsttheoradec.c @@ -529,7 +529,7 @@ theora_dec_src_event (GstPad * pad, GstObject * parent, 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); @@ -547,7 +547,7 @@ theora_dec_src_event (GstPad * pad, GstObject * parent, 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); @@ -560,7 +560,7 @@ theora_dec_src_event (GstPad * pad, GstObject * parent, GstEvent * event) GstClockTimeDiff diff; GstClockTime timestamp; - gst_event_parse_qos (event, NULL, &proportion, &diff, ×tamp); + gst_event_qos_parse (event, NULL, &proportion, &diff, ×tamp); /* we cannot randomly skip frame decoding since we don't have * B frames. we can however use the timestamp and diff to not @@ -617,7 +617,7 @@ theora_dec_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) { const GstSegment *segment; - gst_event_parse_segment (event, &segment); + gst_event_segment_parse (event, &segment); /* we need TIME format */ if (segment->format != GST_FORMAT_TIME) @@ -642,7 +642,7 @@ theora_dec_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) { GstCaps *caps; - gst_event_parse_caps (event, &caps); + gst_event_caps_parse (event, &caps); ret = theora_dec_setcaps (dec, caps); gst_event_unref (event); break; @@ -975,7 +975,7 @@ theora_handle_type_packet (GstTheoraDec * dec, ogg_packet * packet) } if (dec->tags) { - gst_pad_push_event (dec->srcpad, gst_event_new_tag (dec->tags)); + gst_pad_push_event (dec->srcpad, gst_event_tag_new (dec->tags)); dec->tags = NULL; } |