Revert "obs-ffmpeg: Check nvenc max bframe count"
This reverts commita793748743. Not necessary, there's a better fix with77fbfbe5c6.
This commit is contained in:
parent
f405647419
commit
a1235f498e
1 changed files with 1 additions and 2 deletions
|
|
@ -588,8 +588,7 @@ static bool init_encoder_base(struct nvenc_data *enc, obs_data_t *settings,
|
|||
config->gopLength = gop_size;
|
||||
config->frameIntervalP = 1 + bf;
|
||||
|
||||
int32_t max_bf = (int32_t)nv_get_cap(enc, NV_ENC_CAPS_NUM_MAX_BFRAMES);
|
||||
enc->bframes = bf <= max_bf ? bf : max_bf;
|
||||
enc->bframes = bf;
|
||||
|
||||
/* lookahead */
|
||||
const bool use_profile_lookahead = config->rcParams.enableLookahead;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue