diff options
author | Martin Storsjö <martin@martin.st> | 2019-12-14 01:00:20 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2020-01-10 09:14:00 +0200 |
commit | 3d894db700cc1e360a7a75ab9ac8bf67ac6670a3 (patch) | |
tree | 5a97eab00ee47ade30d15a9da9d6c3486245c459 /libavformat/movenchint.c | |
parent | 3ea705767720033754e8d85566460390191ae27d (diff) | |
download | ffmpeg-3d894db700cc1e360a7a75ab9ac8bf67ac6670a3.tar.gz |
movenc: Write durations based on pts into mvhd/mdhd/tkhd/elst
Keep all the existing data fields as they are (there's lots and
lots of nontrivial calculation and heuristics based on them in
their current form), but derive the duration as the difference
between the pts of the first packet to the maximum pts+duration
(not necessarily the last packet); use this duration in any box
where the actual presentation duration is supposed to be.
Fixes: 8420
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/movenchint.c')
0 files changed, 0 insertions, 0 deletions