]> git.sesse.net Git - ffmpeg/commit
avformat/img2dec: set r_frame_rate in addition to avg_frame_rate
authorJan Ekström <jeebjp@gmail.com>
Wed, 7 Apr 2021 18:17:04 +0000 (21:17 +0300)
committerJan Ekström <jeebjp@gmail.com>
Sun, 11 Apr 2021 10:53:05 +0000 (13:53 +0300)
commit5945288818b98682884888e3800893b2f2ac7507
tree711c476218ac4403fe5676bbe7fa3abdc83e948e
parentef16dcc6a9240644d8e06528c19710783b7c6adf
avformat/img2dec: set r_frame_rate in addition to avg_frame_rate

Apparently for various image sequences libavformat/utils.c can
calculate rather fancy r_frame_rate values, such as `186/1921`,
and since ffmpeg.c utilizes r_frame_rate for the filter chain
time base, this can quite deteriorate the output frame timing - even
though the user has requested the image sequence to be interpreted
at a specific, constant frame rate.
libavformat/img2dec.c