mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
filter-shader: Reapply parameters if there was a change
This commit is contained in:
parent
9be36d5ec4
commit
181df6e3d9
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue