gstreamer/ext/dash
Alex Ashley a11f7ed924 dashdemux: include both Period start and presentationTimeOffset in segment start
The start of each segment is relative to the Period start, minus
the presentation time offset.

As specified in section 5.3.9.6 of the MPEG DASH specification:
    The value of the @t attribute minus the value of the
    @presentationTimeOffset specifies the MPD start time of
    the first Segment in the series.

dashdemux was not taking account of presentationTimeOffset and in
some methods was not taking into account the Period start time.
This commit modifies the segment->start value to always be
relative to the MPD start time (zero for VOD,
availabilityStartTime for live streams). This makes all uses of
the segment list consistent.

Fixes #841
2019-06-01 21:25:33 +00:00
..
gstdash_debug.h dash: use same debug category for dashdemux and the mpd parser 2013-07-01 14:22:02 -03:00
gstdashdemux.c dashdemux: Always create the adapter 2018-08-16 15:59:42 -04:00
gstdashdemux.h isoff: Move isoff to gst-libs 2017-08-25 17:21:04 -07:00
gstmpdparser.c dashdemux: include both Period start and presentationTimeOffset in segment start 2019-06-01 21:25:33 +00:00
gstmpdparser.h dashdemux: Handle bitrate > 2**31 2017-11-25 09:41:00 +01:00
gstplugin.c dashdemux: remove typefinder, move it to typefindfunctions in -base 2015-07-16 21:28:28 +01:00
Makefile.am isoff: Move isoff to gst-libs 2017-08-25 17:21:04 -07:00
meson.build docs: Build documentation with hotdoc 2019-05-13 17:00:00 -04:00