aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dirac_dwt.c
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2021-04-18 11:17:54 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2021-04-18 11:43:52 +0200
commite3fb0f0c88f14cf382d005469242bd63338b862e (patch)
tree1a372be2daff80092b030f2f2e4d899a33a15c65 /libavcodec/dirac_dwt.c
parentacb339bb88ca1a52ef4edb3a5f3df24ed05be82d (diff)
downloadffmpeg-e3fb0f0c88f14cf382d005469242bd63338b862e.tar.gz
avcodec/nvenc: fix lossless tuning logic
Relying on the order of the enum is bad. It clashes with the new presets having to sit at the end of the list, so that they can be properly filtered out by the options parser on builds with older SDKs. So this refactors nvenc.c to instead rely on the internal NVENC_LOSSLESS flag. For this, the preset mapping has to happen much earlier, so it's moved from nvenc_setup_encoder to nvenc_setup_device and thus runs before the device capability check.
Diffstat (limited to 'libavcodec/dirac_dwt.c')
0 files changed, 0 insertions, 0 deletions