mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-06-20 11:33:28 -05:00
remove dead code
This commit is contained in:
parent
45e5738d2c
commit
a0119426d6
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user