Fix for idle detection settings resetting

This commit is contained in:
WarmUpTill
2017-02-04 00:10:11 +01:00
committed by GitHub
parent 166ab1404a
commit 1558ead988

View File

@@ -140,8 +140,6 @@ struct SwitcherData
if (!WeakSourceValid(idleData.scene) || !WeakSourceValid(idleData.transition))
{
idleData.scene = NULL;
idleData.transition = NULL;
idleData.idleEnable = false;
}
}
@@ -2383,8 +2381,9 @@ void SwitcherData::Thread()
bool pause = false;
bool sceneRoundTripActive = false;
switcher->Prune();
// Files
// TODO add transitions to output file / read them in the input file
obs_source_t* currentSource = obs_frontend_get_current_scene();
if (fileIO.writeEnabled)
@@ -2606,8 +2605,6 @@ void SwitcherData::Thread()
// End Ignore Windows
switcher->Prune();
// Idle switch
if (!match && idleData.idleEnable)