提交 9bf23186 编写于 作者: S SuslikV 提交者: jp9000

UI: Fix conditions for redraw the stats labels

After the commit 3491487c obs_frontend_get_streaming_output()
returns NULL if "Start Streaming" button not pressed yet.  The code
would erroneously fail to update the recording/streaming status if
either one of them hadn't been activated yet.

Closes jp9000/obs-studio#999
上级 00f6bbe9
......@@ -240,7 +240,7 @@ void OBSBasicStats::Update()
obs_output_release(strOutput);
obs_output_release(recOutput);
if (!strOutput || !recOutput)
if (!strOutput && !recOutput)
return;
/* ------------------------------------------- */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册