提交 ce4960c8 编写于 作者: J jp9000

UI: Don't alert user of encode lag if skip count < 10

Sometimes encoders might have a tiny insignificant amount of lag
unintentionally for whatever reason (for example VP9 sometimes lags on
startup by a frame or two), so don't warn the user if the skip count is
below 10.
上级 6014d4dc
......@@ -261,7 +261,7 @@ void OBSBasicStatusBar::UpdateStatusBar()
int diff = skipped - lastSkippedFrameCount;
double percentage = double(skipped) / double(total) * 100.0;
if (diff && percentage >= 0.1f)
if (diff > 10 && percentage >= 0.1f)
showMessage(QTStr("HighResourceUsage"), 4000);
lastSkippedFrameCount = skipped;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册