UI: Add Transition Previews

This commit adds a preview to the properties window for transitions.

The preview will play back the transition at the global transition
duration or the transitions fixed duration, between two private scenes
with an A and B label, and different background colors.
This commit is contained in:
VodBox 2019-05-12 17:13:38 +12:00 • committed by jp9000
commit 16484e07e9
7 changed files with 229 additions and 1 deletions

View file

@ -3423,6 +3423,11 @@ void OBSBasic::SetService(obs_service_t *newService)
service = newService;
}
int OBSBasic::GetTransitionDuration()
{
return ui->transitionDuration->value();
}
bool OBSBasic::StreamingActive() const
{
if (!outputHandler)