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
parent
b150e4fd39
commit
0c971276ae
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue