mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-25 10:40:31 -05:00
add log on start / stop of switcher thread
This commit is contained in:
@@ -1392,6 +1392,7 @@ static void SaveSceneSwitcher(obs_data_t *save_data, bool saving, void *)
|
||||
********************************************************************************/
|
||||
void SwitcherData::Thread()
|
||||
{
|
||||
blog(LOG_INFO, "Advanced Scene Switcher started");
|
||||
//to avoid scene duplication when rapidly switching scene collection
|
||||
this_thread::sleep_for(chrono::seconds(2));
|
||||
|
||||
@@ -1483,7 +1484,8 @@ void SwitcherData::Thread()
|
||||
switchScene(scene, transition, lock);
|
||||
}
|
||||
}
|
||||
endLoop:;
|
||||
endLoop:
|
||||
blog(LOG_INFO, "Advanced Scene Switcher stopped");
|
||||
}
|
||||
|
||||
void switchScene(OBSWeakSource &scene, OBSWeakSource &transition,
|
||||
|
||||
Reference in New Issue
Block a user