diff options
author | Yogender Gupta <ygupta@nvidia.com> | 2016-10-06 14:44:26 +0530 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-10-09 20:58:10 +0200 |
commit | cbd84b8a51aa656d71b7d6ed44bd89041ff081a8 (patch) | |
tree | 30bdb4a353d35a7ed1dfeec02ba9d58e23518e48 /libavcodec/nvenc.c | |
parent | da2848375a2e2121dad9f1e8cbd0ead4e3bf77d6 (diff) | |
download | ffmpeg-streaming-cbd84b8a51aa656d71b7d6ed44bd89041ff081a8.zip ffmpeg-streaming-cbd84b8a51aa656d71b7d6ed44bd89041ff081a8.tar.gz |
nvenc: Fix error log
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/nvenc.c')
-rw-r--r-- | libavcodec/nvenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 9c35bd0..d5bfd74 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -928,7 +928,7 @@ static int nvenc_setup_encoder(AVCodecContext *avctx) ret = nv->nvEncInitializeEncoder(ctx->nvenc_ctx, &ctx->params); if (ret != NV_ENC_SUCCESS) - return nvenc_print_error(avctx, ret, "Cannot initialize the decoder"); + return nvenc_print_error(avctx, ret, "InitializeEncoder failed"); cpb_props = ff_add_cpb_side_data(avctx); if (!cpb_props) |