diff options
author | Niklas Haas <git@haasn.dev> | 2023-06-15 17:02:48 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2023-06-20 17:09:58 +0200 |
commit | 9049ea676363f113eaaef4dbf21aee7df69a3988 (patch) | |
tree | 0c08345beb5c136cdb437a42a29376305fdb5888 /libavfilter/vf_vignette.c | |
parent | 1b2c6c9a0367e49842ae6464c7d077f35ad22052 (diff) | |
download | ffmpeg-9049ea676363f113eaaef4dbf21aee7df69a3988.tar.gz |
lavfi/vf_libplacebo: set time_base/frame_rate dynamically
Use the gcd of all input timebases to ensure PTS accuracy. For the
framerate, just pick the highest of all the inputs, under the assumption
that we will render frames with approximately this frequency. Of course,
this is not 100% accurate, in particular if the input frames are badly
misaligned. But this field is informational to begin with.
Importantly, it covers the "common" case of combining high FPS and low
FPS streams with aligned frames.
Diffstat (limited to 'libavfilter/vf_vignette.c')
0 files changed, 0 insertions, 0 deletions