diff options
author | Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> | 2015-02-12 22:04:10 +0100 |
---|---|---|
committer | Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> | 2015-02-12 22:47:26 +0100 |
commit | 6b864813cce885e8fb900041f73dcf4e5264d3db (patch) | |
tree | 26b0362242f756784e934da53285c25e4110a960 /gst-libs/gst/adaptivedemux/gstadaptivedemux.c | |
parent | 43464aa204ad44194abd948faf03340978ff90aa (diff) | |
download | gstreamer-plugins-bad-6b864813cce885e8fb900041f73dcf4e5264d3db.tar.gz |
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
Diffstat (limited to 'gst-libs/gst/adaptivedemux/gstadaptivedemux.c')
-rw-r--r-- | gst-libs/gst/adaptivedemux/gstadaptivedemux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c index 6568110c3..ab040216b 100644 --- a/gst-libs/gst/adaptivedemux/gstadaptivedemux.c +++ b/gst-libs/gst/adaptivedemux/gstadaptivedemux.c @@ -702,7 +702,7 @@ gst_adaptive_demux_expose_streams (GstAdaptiveDemux * demux, } 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)) { GstAdaptiveDemuxStream *stream = iter->data; |