diff options
author | Martin Storsjö <martin@martin.st> | 2014-11-28 10:43:53 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-12-17 09:43:08 +0200 |
commit | 456e93bfdd4cbc5e995dea415019abd0703d0e16 (patch) | |
tree | e239b8e90bb1646998c7813f01c6bbff8cebd4bb /libavformat/swf.c | |
parent | 2f628d5943c12389c07d652d23d3916997f9f0f6 (diff) | |
download | ffmpeg-456e93bfdd4cbc5e995dea415019abd0703d0e16.tar.gz |
dashenc: Adjust the start time of a segment to the end of the previous segment
This is the same adjustment that the mp4 muxer does to the start
timestamp of fragments, since the timestamp of a sample in an mp4
file is implicit from the sum of earlier sample durations.
This avoids gaps in the timeline (which can stop dash.js from
playing it back), and makes sure the timestamp on the segmenter
level matches what the mp4 muxer actually writes into the segments.
This is only an issue if the AVPacket duration of the last
packet of a segment doesn't point to the actual start timestamp
of the next packet (the first in the next segment).
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/swf.c')
0 files changed, 0 insertions, 0 deletions