libobs: Reset manual state when forcing transition target
Fixes an issue where the manual transition point would not be reset to 0 when the transition's current target is overridden and explicitly set.master
parent
360af79db2
commit
563e2434c0
|
@ -454,6 +454,8 @@ void obs_transition_set(obs_source_t *transition, obs_source_t *source)
|
||||||
transition->transition_sources[0] = source;
|
transition->transition_sources[0] = source;
|
||||||
transition->transitioning_video = false;
|
transition->transitioning_video = false;
|
||||||
transition->transitioning_audio = false;
|
transition->transitioning_audio = false;
|
||||||
|
transition->transition_manual_val = 0.0f;
|
||||||
|
transition->transition_manual_target = 0.0f;
|
||||||
unlock_transition(transition);
|
unlock_transition(transition);
|
||||||
|
|
||||||
for (size_t i = 0; i < 2; i++) {
|
for (size_t i = 0; i < 2; i++) {
|
||||||
|
|
Loading…
Reference in New Issue