mirror of https://git.ffmpeg.org/ffmpeg.git
nvenc: Fix error log
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
parent
da2848375a
commit
cbd84b8a51
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue