UI: Disable stream encoder setting in simple output with active output

We disable the stream encoder setting in Advanced Output Mode when an
output is active, so let's also disable the stream encoder setting in
Simple Output Mode when an output is active.
This commit is contained in:
Ryan Foster
2020-10-31 02:57:38 -04:00
committed by Jim
parent 2700db9ff9
commit 7f4e375e12
2 changed files with 4 additions and 2 deletions

View File

@@ -2064,6 +2064,8 @@ void OBSBasicSettings::LoadOutputSettings()
if (obs_video_active()) {
ui->outputMode->setEnabled(false);
ui->outputModeLabel->setEnabled(false);
ui->simpleOutStrEncoderLabel->setEnabled(false);
ui->simpleOutStrEncoder->setEnabled(false);
ui->simpleRecordingGroupBox->setEnabled(false);
ui->replayBufferGroupBox->setEnabled(false);
ui->advOutTopContainer->setEnabled(false);