UI: Fix missing broadcast state reset on force-stop
This commit is contained in:
parent
5ea7aa3b7e
commit
aba94c71e2
@ -6544,6 +6544,18 @@ void OBSBasic::ForceStopStreaming()
|
||||
if (outputHandler->StreamingActive())
|
||||
outputHandler->StopStreaming(true);
|
||||
|
||||
// special case: force reset broadcast state if
|
||||
// no autostart and no autostop selected
|
||||
if (!autoStartBroadcast && !broadcastActive) {
|
||||
broadcastActive = false;
|
||||
autoStartBroadcast = true;
|
||||
autoStopBroadcast = true;
|
||||
ui->broadcastButton->setVisible(false);
|
||||
}
|
||||
|
||||
if (autoStopBroadcast)
|
||||
broadcastActive = false;
|
||||
|
||||
OnDeactivate();
|
||||
|
||||
bool recordWhenStreaming = config_get_bool(
|
||||
|
Loading…
x
Reference in New Issue
Block a user