Fix crash while waiting for transition and no transition is selected

This commit is contained in:
WarmUpTill 2023-05-27 20:09:17 +02:00 committed by WarmUpTill
parent c52166bfec
commit 05fa3af2ac

View File

@ -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 &&