mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
add log on start / stop of switcher thread
This commit is contained in:
parent
e6a3f98ab7
commit
5ab8199e03
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user