mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user