Skip to content

Commit

Permalink
more shadowed param
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Sep 23, 2023
1 parent d4df2e8 commit 9d5723c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transcription-filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<struct transcription_filter_data *>(data);
static_cast<struct transcription_filter_data *>(data_);
shutdown_whisper_thread(gf_);
std::string external_model_file_path =
obs_data_get_string(settings, "whisper_model_path_external");
Expand Down

0 comments on commit 9d5723c

Please sign in to comment.