fftools/ffmpeg: when framerate is set, prefer its inverse as output timebase
authorAnton Khirnov <anton@khirnov.net>
Mon, 5 Apr 2021 08:44:36 +0000 (10:44 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 8 Apr 2021 09:03:15 +0000 (11:03 +0200)
commit0214da22cae08615f58f9769a4e8fb47d21aa687
treea659d40200e0f8fa2dd601dabb05dd48291f4755
parent7ec8229982de55f0c68008862e944583c18e4e47
fftools/ffmpeg: when framerate is set, prefer its inverse as output timebase

Codec timebase is not well-defined for streamcopy, so it should only be
used as the last resort.
fftools/ffmpeg.c