fix deadlock when rapidly switching scenes

This commit is contained in:
WarmUpTill
2020-04-12 21:26:45 +02:00
parent 5e92a7bcdf
commit 115a90196c
3 changed files with 15 additions and 12 deletions

View File

@@ -275,7 +275,7 @@ struct SwitcherData
bool sceneChangedDuringWait();
bool prioFuncsValid();
void writeSceneInfoToFile();
void setDefaultSceneTransitions(unique_lock<mutex>& lock);
void setDefaultSceneTransitions();
void autoStopStreamAndRecording();
bool checkPause();
void checkSceneRoundTrip(bool& match, OBSWeakSource& scene, OBSWeakSource& transition, unique_lock<mutex>& lock);