diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/faad/gstfaad.c | 4 | ||||
-rw-r--r-- | ext/ivorbis/vorbisfile.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 85e20ce7..2dc96566 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -660,7 +660,7 @@ gst_faad_event (GstPad * pad, GstEvent * event) gint64 start, end, base; gdouble rate; - gst_event_parse_newsegment (event, &is_update, &rate, &fmt, &start, + gst_event_parse_new_segment (event, &is_update, &rate, &fmt, &start, &end, &base); if (fmt == GST_FORMAT_TIME) { GST_DEBUG ("Got NEWSEGMENT event in GST_FORMAT_TIME, passing on (%" @@ -685,7 +685,7 @@ gst_faad_event (GstPad * pad, GstEvent * event) ("no average bitrate yet, sending newsegment with start at 0"); } new_ev = - gst_event_new_newsegment (is_update, rate, GST_FORMAT_TIME, + gst_event_new_new_segment (is_update, rate, GST_FORMAT_TIME, new_start, new_end, base); gst_event_unref (event); event = new_ev; diff --git a/ext/ivorbis/vorbisfile.c b/ext/ivorbis/vorbisfile.c index 55c67adc..22668a8a 100644 --- a/ext/ivorbis/vorbisfile.c +++ b/ext/ivorbis/vorbisfile.c @@ -782,7 +782,7 @@ gst_ivorbisfile_loop (GstPad * pad) samples = (gint64) (ov_pcm_tell (&ivorbisfile->vf)); event = - gst_event_new_newsegment (FALSE, 1.0, GST_FORMAT_TIME, time, + gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_TIME, time, GST_CLOCK_TIME_NONE, 0); gst_pad_push_event (ivorbisfile->srcpad, event); |