UI: Change output blocking bool to integer ref counter
This commit is contained in:
parent
0697e37b26
commit
4ff7ac0bfa
2 changed files with 10 additions and 5 deletions
|
|
@ -3958,7 +3958,7 @@ void OBSBasic::StartStreaming()
|
|||
{
|
||||
if (outputHandler->StreamingActive())
|
||||
return;
|
||||
if (!enableOutputs)
|
||||
if (disableOutputsRef)
|
||||
return;
|
||||
|
||||
if (api)
|
||||
|
|
@ -4250,7 +4250,7 @@ void OBSBasic::StartRecording()
|
|||
{
|
||||
if (outputHandler->RecordingActive())
|
||||
return;
|
||||
if (!enableOutputs)
|
||||
if (disableOutputsRef)
|
||||
return;
|
||||
|
||||
if (api)
|
||||
|
|
@ -4352,7 +4352,7 @@ void OBSBasic::StartReplayBuffer()
|
|||
return;
|
||||
if (outputHandler->ReplayBufferActive())
|
||||
return;
|
||||
if (!enableOutputs)
|
||||
if (disableOutputsRef)
|
||||
return;
|
||||
|
||||
obs_output_t *output = outputHandler->replayBuffer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue