aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/nvenc.c
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2020-10-21 18:17:08 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2020-10-21 18:17:08 +0200
commitcde3c080338154cc73103939f6ab26ae5bb718cd (patch)
treeb3c35a6c4916f1569570bae2863e7642d1e3d796 /libavcodec/nvenc.c
parent11a8e93681dfe51c75683ac5a13b72d4bed7ac1f (diff)
downloadffmpeg-cde3c080338154cc73103939f6ab26ae5bb718cd.tar.gz
avcodec/nvenc: mark newly deprecated rc modes
Diffstat (limited to 'libavcodec/nvenc.c')
-rw-r--r--libavcodec/nvenc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index 63fbe17810..837810d3d2 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -933,10 +933,7 @@ static av_cold void nvenc_setup_rate_control(AVCodecContext *avctx)
if (ctx->rc >= 0 && ctx->rc & RC_MODE_DEPRECATED) {
av_log(avctx, AV_LOG_WARNING, "Specified rc mode is deprecated.\n");
- av_log(avctx, AV_LOG_WARNING, "\tll_2pass_quality -> cbr_ld_hq\n");
- av_log(avctx, AV_LOG_WARNING, "\tll_2pass_size -> cbr_hq\n");
- av_log(avctx, AV_LOG_WARNING, "\tvbr_2pass -> vbr_hq\n");
- av_log(avctx, AV_LOG_WARNING, "\tvbr_minqp -> (no replacement)\n");
+ av_log(avctx, AV_LOG_WARNING, "Use -rc constqp/cbr/vbr, -tune and -multipass instead.\n");
ctx->rc &= ~RC_MODE_DEPRECATED;
}