diff --git a/plugins/obs-filters/noise-suppress-filter.c b/plugins/obs-filters/noise-suppress-filter.c index ebee267f4ea920..d7c3b136afa590 100644 --- a/plugins/obs-filters/noise-suppress-filter.c +++ b/plugins/obs-filters/noise-suppress-filter.c @@ -449,7 +449,9 @@ static void noise_suppress_nvafx_migrate_task(void *param) { struct noise_suppress_data *ng = param; obs_source_t *parent = obs_filter_get_parent(ng->context); + int index = obs_source_filter_get_index(parent, ng->context); obs_source_filter_add(parent, ng->migrated_filter); + obs_source_filter_set_index(parent, ng->migrated_filter, index); obs_source_set_enabled(ng->migrated_filter, obs_source_enabled(ng->context)); obs_source_filter_remove(parent, ng->context); }