gst/: newsegment API update.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_loop_header):
* gst/tta/gstttaparse.c: (gst_tta_parse_src_event),
(gst_tta_parse_parse_header):
newsegment API update.
This commit is contained in:
Wim Taymans 2005-10-11 16:34:36 +00:00
parent 3a6dd6c30c
commit b0e9b53bb7

View file

@ -655,7 +655,7 @@ gst_qtdemux_loop_header (GstPad * pad)
stream->samples[stream->sample_index].duration;
}
if (qtdemux->need_discont) {
GstEvent *event = gst_event_new_newsegment (1.0,
GstEvent *event = gst_event_new_newsegment (FALSE, 1.0,
GST_FORMAT_TIME, GST_BUFFER_TIMESTAMP (buf),
GST_CLOCK_TIME_NONE, 0);
gint n;