]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/nvenc: Fix typo and preset error message
authorTimo Rothenpieler <timo@rothenpieler.org>
Tue, 8 Mar 2016 10:18:16 +0000 (11:18 +0100)
committerTimo Rothenpieler <timo@rothenpieler.org>
Tue, 8 Mar 2016 10:18:16 +0000 (11:18 +0100)
libavcodec/nvenc.c

index c001c9ea78d7a1a3e4a442185665c0b91d51b1ff..4b20aaca85b20ea5f87c4707482ba2088725332d 100644 (file)
@@ -643,7 +643,7 @@ static av_cold int nvenc_encode_init(AVCodecContext *avctx)
         } else if (!strcmp(ctx->preset, "default")) {
             encoder_preset = NV_ENC_PRESET_DEFAULT_GUID;
         } else {
-            av_log(avctx, AV_LOG_FATAL, "Preset \"%s\" is unknown! Supported presets: slow, medium, high, hp, hq, bd, ll, llhp, llhq, lossless, losslesshp, default\n", ctx->preset);
+            av_log(avctx, AV_LOG_FATAL, "Preset \"%s\" is unknown! Supported presets: slow, medium, fast, hp, hq, bd, ll, llhp, llhq, lossless, losslesshp, default\n", ctx->preset);
             res = AVERROR(EINVAL);
             goto error;
         }