nvenc: Remove qmin and qmax constraints for nvenc vbr
authorGanapathy Kasi <gkasi@nvidia.com>
Wed, 1 Mar 2017 23:04:47 +0000 (15:04 -0800)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 4 Mar 2017 07:23:28 +0000 (08:23 +0100)
commit3303f86467efa99f23c670707f5be094cc9ce547
tree7ed9678c8d336c1748b3c39f76db778fc642c1d3
parentaba5b94859ef1cb8f517dc64bce86a3021316ae8
nvenc: Remove qmin and qmax constraints for nvenc vbr

qmin and qmax are not necessary for nvenc vbr.

Also fix for using 2 pass vbr mode for slow preset through ctx->flag NVENC_TWO_PASSES.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/nvenc.c