[FFmpeg-cvslog] avcodec/nvenc: Fix typo and preset error message
Timo Rothenpieler
git at videolan.org
Tue Mar 8 11:21:54 CET 2016
ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Tue Mar 8 11:18:16 2016 +0100| [f2bdf9d26a237c452dfaa9499027442790cafb4f] | committer: Timo Rothenpieler
avcodec/nvenc: Fix typo and preset error message
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2bdf9d26a237c452dfaa9499027442790cafb4f
---
libavcodec/nvenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index c001c9e..4b20aac 100644
--- a/libavcodec/nvenc.c
+++ b/libavcodec/nvenc.c
@@ -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;
}
More information about the ffmpeg-cvslog
mailing list