mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
dashdemux: Initialize sidx_position to GST_CLOCK_TIME_NONE
If a manifest has non-zero presentation time offset (i.e., earliest presentation time specified by sidx box is not zero), the initial sidx position shouldn't be zero. Since we cannot define exact sidx position until parsing sidx box, set the value to unknown. https://bugzilla.gnome.org/show_bug.cgi?id=782693
This commit is contained in:
parent
6a6ddb26b4
commit
1c6cd54477
1 changed files with 1 additions and 0 deletions
|
@ -723,6 +723,7 @@ gst_dash_demux_setup_all_streams (GstDashDemux * demux)
|
|||
(stream), tags);
|
||||
stream->index = i;
|
||||
stream->pending_seek_ts = GST_CLOCK_TIME_NONE;
|
||||
stream->sidx_position = GST_CLOCK_TIME_NONE;
|
||||
if (active_stream->cur_adapt_set &&
|
||||
active_stream->cur_adapt_set->RepresentationBase &&
|
||||
active_stream->cur_adapt_set->RepresentationBase->ContentProtection) {
|
||||
|
|
Loading…
Reference in a new issue