mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-29 20:55:28 -05:00
Add video tab (#131)
This tab will allow switching scenes based on the video output of sources.
This commit is contained in:
@@ -87,6 +87,7 @@ void resetPause()
|
||||
IdleData::pause = false;
|
||||
SceneSequenceSwitch::pause = false;
|
||||
AudioSwitch::pause = false;
|
||||
VideoSwitch::pause = false;
|
||||
}
|
||||
|
||||
void setPauseTarget(PauseTarget &target, bool &verbose)
|
||||
@@ -139,6 +140,10 @@ void setPauseTarget(PauseTarget &target, bool &verbose)
|
||||
vblog(LOG_INFO, "pause audio switching");
|
||||
AudioSwitch::pause = true;
|
||||
break;
|
||||
case PauseTarget::Video:
|
||||
vblog(LOG_INFO, "pause video switching");
|
||||
VideoSwitch::pause = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -340,6 +345,7 @@ void populatePauseTargets(QComboBox *list)
|
||||
list->addItem(
|
||||
obs_module_text("AdvSceneSwitcher.sceneSequenceTab.title"));
|
||||
list->addItem(obs_module_text("AdvSceneSwitcher.audioTab.title"));
|
||||
list->addItem(obs_module_text("AdvSceneSwitcher.VideoTab.title"));
|
||||
}
|
||||
|
||||
PauseEntryWidget::PauseEntryWidget(QWidget *parent, PauseEntry *s)
|
||||
|
||||
Reference in New Issue
Block a user