GNOME Bugzilla – Bug 782693
dashdemux: Initialize sidx_position to GST_CLOCK_TIME_NONE
Last modified: 2017-06-12 14:16:04 UTC
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.
Created attachment 351974 [details] [review] dashdemux: Initialize sidx_position to GST_CLOCK_TIME_NONE
Since sidx_position is automatically initialized to zero in current code, demux try to initial sidx seek at https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/dash/gstdashdemux.c#n2286 The problem is, the sidx seeking is failed for non-zero presentation time offset stream. I've never seen public stream which can reproduce this issue, but I happen in my private stream.
Attachment 351974 [details] pushed as 1c6cd54 - dashdemux: Initialize sidx_position to GST_CLOCK_TIME_NONE