diff --git a/src/transcription-filter.cpp b/src/transcription-filter.cpp index 8c6bf7c..e9256d1 100644 --- a/src/transcription-filter.cpp +++ b/src/transcription-filter.cpp @@ -599,12 +599,12 @@ obs_properties_t *transcription_filter_properties(void *data) obs_property_set_modified_callback2( whisper_model_path_external, - [](void *data, obs_properties_t *props, obs_property_t *property, + [](void *data_, obs_properties_t *props, obs_property_t *property, obs_data_t *settings) { UNUSED_PARAMETER(property); UNUSED_PARAMETER(props); struct transcription_filter_data *gf_ = - static_cast(data); + static_cast(data_); shutdown_whisper_thread(gf_); std::string external_model_file_path = obs_data_get_string(settings, "whisper_model_path_external");