avcodec/nvenc: fix build with older SDKs

pull/356/head
Timo Rothenpieler 4 years ago
parent 7b2244565a
commit 45e3131c44
  1. 3
      libavcodec/nvenc.c

@ -1274,9 +1274,6 @@ static av_cold int nvenc_setup_encoder(AVCodecContext *avctx)
ctx->init_encode_params.tuningInfo,
&preset_config);
#else
// Turn off tuning info parameter if older presets are on
ctx->init_encode_params.tuningInfo = 0;
nv_status = p_nvenc->nvEncGetEncodePresetConfig(ctx->nvencoder,
ctx->init_encode_params.encodeGUID,
ctx->init_encode_params.presetGUID,

Loading…
Cancel
Save