aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_field.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2019-12-14 01:00:20 +0200
committerMartin Storsjö <martin@martin.st>2020-01-10 09:14:00 +0200
commit3d894db700cc1e360a7a75ab9ac8bf67ac6670a3 (patch)
tree5a97eab00ee47ade30d15a9da9d6c3486245c459 /libavfilter/vf_field.c
parent3ea705767720033754e8d85566460390191ae27d (diff)
downloadffmpeg-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 'libavfilter/vf_field.c')
0 files changed, 0 insertions, 0 deletions