diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 8d0d5c3e3a..1350e9c68c 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -643,7 +643,7 @@ gst_qtdemux_loop_header (GstPad * pad) stream->samples[stream->sample_index].duration; } if (qtdemux->need_discont) { - GstEvent *event = gst_event_new_newsegment (FALSE, 1.0, + GstEvent *event = gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_TIME, GST_BUFFER_TIMESTAMP (buf), GST_CLOCK_TIME_NONE, 0); gint n;