filter-shader: Reapply parameters if there was a change

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-08-07 18:43:19 +02:00
parent 9be36d5ec4
commit 181df6e3d9

View file

@ -251,7 +251,11 @@ void filter::shader::shader_instance::video_tick(float_t sec_since_last)
_height = obs_source_get_base_height(target);
}
_fx->tick(sec_since_last);
if (_fx->tick(sec_since_last)) {
obs_data_t* data = obs_source_get_settings(_self);
update(data);
obs_data_release(data);
}
_rt_updated = false;
}