summaryrefslogtreecommitdiff
path: root/libswscale/aarch64/swscale.c
diff options
context:
space:
mode:
authorZachariah Brown <zachariah@renewedvision.com>2020-05-14 14:15:33 -0400
committerTimo Rothenpieler <timo@rothenpieler.org>2020-05-15 00:44:31 +0200
commitb18fd2b95b2fea10f0b5381333a1b4c032f010bc (patch)
tree5d13edbcb3194b0ac0c655785a588ebc51eff4b6 /libswscale/aarch64/swscale.c
parentb7d89963f00bd82f5cf230d7a7c865126fffc5fb (diff)
avcodec/nvenc: use framerate if available
The h264_nvenc and hevc_nvenc encoders aren't respecting the framerate in the codec context. Instead it was using the timebase which in our use-case was 1/1000 so the encoder was behaving as if we wanted 1000fps. This resulted in poor encoding results due to an extremely low bitrate. Both the amf and qsv encoders already contain similar logic to first check the framerate before falling back to the timebase. Signed-off-by: Zachariah Brown <zachariah@renewedvision.com> Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'libswscale/aarch64/swscale.c')
0 files changed, 0 insertions, 0 deletions