GNOME Bugzilla – Bug 751841
dashdemux: segment timestamp not correctly computed for SegmentTimeline
Last modified: 2015-09-15 17:11:59 UTC
When the start of the segment is specified using SegmentTimeline element, the start must be relative to the period's start: @t attribute in SegmentTimeline:' "specifies the MPD start time, in @timescale units, the first Segment in the series starts relative to the beginning of the Period." But the gst_mpd_client_setup_representation function will consider @t value as being the start of the segment. We must add PeriodStart to it.
Created attachment 306625 [details] [review] proposed patch
commit 8551f74a056b7fee2382bb7eab05fe35230ca85f Author: Florin Apostol <florin.apostol@oregan.net> Date: Thu Jul 2 15:17:51 2015 +0100 dashdemux: fixed segment start when specified by SegmentTimeline @t attribute in segment Timeline is relative to the period start. Corrected the code to take this into account when computing segment timestamp. https://bugzilla.gnome.org/show_bug.cgi?id=751841
Florin, did you create a unit test for this fix?
it is covered by dash_mpdparser_segment_timeline test