Skip to content

Commit

Permalink
Merge pull request obsproject#99 from amazon-contributing/ruwen/fix-a…
Browse files Browse the repository at this point in the history
…dvanced-output

UI: Fix stopping advanced stream output with simulcast enabled
  • Loading branch information
palana committed Nov 22, 2023
2 parents bf58e28 + 8195409 commit dc285f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UI/window-basic-main-outputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2261,7 +2261,7 @@ bool AdvancedOutput::StartRecording()
if (!ffmpegOutput) {
UpdateRecordingSettings();
}
} else if (!obs_output_active(streamOutput)) {
} else if (!obs_output_active(StreamingOutput())) {
UpdateStreamSettings();
}

Expand Down Expand Up @@ -2360,7 +2360,7 @@ bool AdvancedOutput::StartReplayBuffer()
if (!useStreamEncoder) {
if (!ffmpegOutput)
UpdateRecordingSettings();
} else if (!obs_output_active(streamOutput)) {
} else if (!obs_output_active(StreamingOutput())) {
UpdateStreamSettings();
}

Expand Down Expand Up @@ -2452,7 +2452,7 @@ void AdvancedOutput::StopReplayBuffer(bool force)

bool AdvancedOutput::StreamingActive() const
{
return obs_output_active(streamOutput);
return obs_output_active(StreamingOutput());
}

bool AdvancedOutput::RecordingActive() const
Expand Down

0 comments on commit dc285f9

Please sign in to comment.