• Martin Storsjö's avatar
    dashenc: Use pts for MPD timeline timestamps · 7a1a63e3
    Martin Storsjö authored
    This should be more correct. This also should give more sensible
    switching between video streams with different amount of b-frame
    delay.
    
    The current dash.js release (1.2.0) fails to start playback of
    such files from the start (if the start pts is > 0), but this has
    been fixed in the current git version of dash.js.
    
    Also enable the use of edit lists, so that streams in many cases
    start at pts=0.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    7a1a63e3
dashenc.c 36.4 KB