mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-08 12:24:09 +00:00
UI: Change how the status bar gets weak stream output
The changes obs_output_get_weak_output to OBSGetWeakRef to be consistent with the other UI code.
This commit is contained in:
parent
cffdc15aac
commit
5eeae2d8b2
|
@ -518,7 +518,7 @@ void OBSBasicStatusBar::StreamDelayStarting(int sec)
|
|||
return;
|
||||
|
||||
OBSOutputAutoRelease output = obs_frontend_get_streaming_output();
|
||||
streamOutput = obs_output_get_weak_output(output);
|
||||
streamOutput = OBSGetWeakRef(output);
|
||||
|
||||
delaySecTotal = delaySecStarting = sec;
|
||||
UpdateDelayMsg();
|
||||
|
@ -533,7 +533,7 @@ void OBSBasicStatusBar::StreamDelayStopping(int sec)
|
|||
|
||||
void OBSBasicStatusBar::StreamStarted(obs_output_t *output)
|
||||
{
|
||||
streamOutput = obs_output_get_weak_output(output);
|
||||
streamOutput = OBSGetWeakRef(output);
|
||||
|
||||
streamSigs.emplace_back(obs_output_get_signal_handler(output),
|
||||
"reconnect", OBSOutputReconnect, this);
|
||||
|
|
Loading…
Reference in a new issue