mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-07 01:35:41 -05:00
Fix crash while waiting for transition and no transition is selected
This commit is contained in:
parent
c52166bfec
commit
05fa3af2ac
|
|
@ -20,6 +20,9 @@ static void waitForTransitionChange(OBSWeakSource &transition,
|
|||
{
|
||||
const auto time = 100ms;
|
||||
obs_source_t *source = obs_weak_source_get_source(transition);
|
||||
if (!source) {
|
||||
return;
|
||||
}
|
||||
|
||||
bool stillTransitioning = true;
|
||||
while (stillTransitioning && !switcher->abortMacroWait &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user