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
@ -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…
x
Reference in New Issue
Block a user