mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
adaptivedemux: Set first segment time to segment start.
Otherwise as long as a seek wasn't executed, the position was reported incorrectly: gst-validate-1.0 playbin \ uri=http://dev-iplatforms.kw.bbc.co.uk/dash/news24-avc3/news24.php https://bugzilla.gnome.org/show_bug.cgi?id=744362
This commit is contained in:
parent
43464aa204
commit
6b864813cc
1 changed files with 1 additions and 1 deletions
|
@ -702,7 +702,7 @@ gst_adaptive_demux_expose_streams (GstAdaptiveDemux * demux,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (first_segment)
|
if (first_segment)
|
||||||
demux->segment.start = demux->segment.position = min_pts;
|
demux->segment.start = demux->segment.position = demux->segment.time = min_pts;
|
||||||
for (iter = demux->streams; iter; iter = g_list_next (iter)) {
|
for (iter = demux->streams; iter; iter = g_list_next (iter)) {
|
||||||
GstAdaptiveDemuxStream *stream = iter->data;
|
GstAdaptiveDemuxStream *stream = iter->data;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue