obs-ffmpeg: Don't set NVENC max dimensions

Don't set maxEncodeWidth/maxEncodeHeight since FFmpeg doesn't, and we
don't support resolution changes.
master
jpark37 2021-03-16 19:01:00 -07:00
parent b150e4fd39
commit 0c971276ae
1 changed files with 0 additions and 2 deletions

View File

@ -425,8 +425,6 @@ static bool init_encoder(struct nvenc_data *enc, obs_data_t *settings)
params->enableEncodeAsync = 1;
params->enablePTD = 1;
params->encodeConfig = &enc->config;
params->maxEncodeWidth = voi->width;
params->maxEncodeHeight = voi->height;
config->gopLength = gop_size;
config->frameIntervalP = 1 + bf;
h264_config->idrPeriod = gop_size;