summaryrefslogtreecommitdiffstats
path: root/ext/ivorbis/vorbisfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ivorbis/vorbisfile.c')
-rw-r--r--ext/ivorbis/vorbisfile.c2
1 files changed, 1 insertions, 1 deletions
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);