summaryrefslogtreecommitdiffstats
path: root/gst/qtdemux/qtdemux.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/qtdemux/qtdemux.c')
-rw-r--r--gst/qtdemux/qtdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 8d0d5c3e..1350e9c6 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;