mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
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:
parent
3a6dd6c30c
commit
b0e9b53bb7
1 changed files with 1 additions and 1 deletions
|
@ -655,7 +655,7 @@ gst_qtdemux_loop_header (GstPad * pad)
|
||||||
stream->samples[stream->sample_index].duration;
|
stream->samples[stream->sample_index].duration;
|
||||||
}
|
}
|
||||||
if (qtdemux->need_discont) {
|
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_FORMAT_TIME, GST_BUFFER_TIMESTAMP (buf),
|
||||||
GST_CLOCK_TIME_NONE, 0);
|
GST_CLOCK_TIME_NONE, 0);
|
||||||
gint n;
|
gint n;
|
||||||
|
|
Loading…
Reference in a new issue