mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-25 10:40:31 -05:00
remove dead code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user