• Alex Ashley's avatar
    dashdemux: include both Period start and presentationTimeOffset in segment start · a11f7ed9
    Alex Ashley authored
    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
    a11f7ed9
Name
Last commit
Last update
..
Makefile.am Loading commit data...
gstdash_debug.h Loading commit data...
gstdashdemux.c Loading commit data...
gstdashdemux.h Loading commit data...
gstmpdparser.c Loading commit data...
gstmpdparser.h Loading commit data...
gstplugin.c Loading commit data...
meson.build Loading commit data...