Browse Source

obs-ffmpeg: Rename NVENC type for clarity

jpark37 3 years ago
parent
commit
8f6f761631
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/obs-ffmpeg/jim-nvenc.c

+ 1 - 1
plugins/obs-ffmpeg/jim-nvenc.c

@@ -697,7 +697,7 @@ static bool init_encoder_hevc(struct nvenc_data *enc, obs_data_t *settings,
 
 	NV_ENC_CONFIG *config = &enc->config;
 	NV_ENC_CONFIG_HEVC *hevc_config = &config->encodeCodecConfig.hevcConfig;
-	NV_ENC_CONFIG_H264_VUI_PARAMETERS *vui_params =
+	NV_ENC_CONFIG_HEVC_VUI_PARAMETERS *vui_params =
 		&hevc_config->hevcVUIParameters;
 
 	initialize_params(&enc->params, &NV_ENC_CODEC_HEVC_GUID, &nv_preset,