未验证 提交 74f393be 编写于 作者: J Jim 提交者: GitHub

Merge pull request #3438 from kkartaltepe/output-check

UI: Fix recording check when using url output
......@@ -8258,6 +8258,18 @@ void OBSBasic::OutputPathInvalidMessage()
bool OBSBasic::OutputPathValid()
{
const char *mode = config_get_string(Config(), "Output", "Mode");
if (strcmp(mode, "Advanced") == 0) {
const char *advanced_mode =
config_get_string(Config(), "AdvOut", "RecType");
if (strcmp(advanced_mode, "FFmpeg") == 0) {
bool is_local = config_get_bool(Config(), "AdvOut",
"FFOutputToFile");
if (!is_local)
return true;
}
}
const char *path = GetCurrentOutputPath();
return path && *path && QDir(path).exists();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册