mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
obs-ffmpeg: Fix old NVENC ignoring Max B-frames
This commit is contained in:
@@ -163,6 +163,8 @@ static bool nvenc_update(struct nvenc_encoder *enc, obs_data_t *settings,
|
||||
|
||||
set_psycho_aq(enc, psycho_aq);
|
||||
|
||||
enc->ffve.context->max_b_frames = bf;
|
||||
|
||||
const char *ffmpeg_opts = obs_data_get_string(settings, "ffmpeg_opts");
|
||||
ffmpeg_video_encoder_update(&enc->ffve, bitrate, keyint_sec, voi, &info,
|
||||
ffmpeg_opts);
|
||||
|
||||
Reference in New Issue
Block a user