remove dead code

This commit is contained in:
WarmUpTill 2020-11-09 22:53:26 +01:00 committed by WarmUpTill
parent 45e5738d2c
commit a0119426d6

View File

@ -330,7 +330,6 @@ void SwitcherData::Thread()
int sleep = 0;
while (true) {
startLoop:
std::unique_lock<std::mutex> lock(m);
bool match = false;
OBSWeakSource scene;
@ -393,10 +392,6 @@ void SwitcherData::Thread()
case round_trip_func:
checkSceneSequence(match, scene, transition,
lock);
if (sceneChangedDuringWait()) //scene might have changed during the sleep
{
goto startLoop;
}
break;
case media_func:
checkMediaSwitch(match, scene, transition);