mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
obs-ffmpeg: Fix unused variable in native NVENC
This commit is contained in:
parent
d88e788f7f
commit
02ead5b096
@ -1109,7 +1109,6 @@ static bool init_encoder_hevc(struct nvenc_data *enc, obs_data_t *settings,
|
||||
static bool init_encoder_av1(struct nvenc_data *enc, obs_data_t *settings,
|
||||
int bf, bool compatibility)
|
||||
{
|
||||
const char *rc = obs_data_get_string(settings, "rate_control");
|
||||
int keyint_sec = (int)obs_data_get_int(settings, "keyint_sec");
|
||||
bool lossless;
|
||||
|
||||
@ -1117,7 +1116,6 @@ static bool init_encoder_av1(struct nvenc_data *enc, obs_data_t *settings,
|
||||
return false;
|
||||
}
|
||||
|
||||
NV_ENC_INITIALIZE_PARAMS *params = &enc->params;
|
||||
NV_ENC_CONFIG *config = &enc->config;
|
||||
NV_ENC_CONFIG_AV1 *av1_config = &config->encodeCodecConfig.av1Config;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user