|
|
@@ -7652,7 +7652,7 @@ void OBSBasic::StartRecording()
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if (LowDiskSpace()) {
|
|
|
+ if (!IsFFmpegOutputToURL() && LowDiskSpace()) {
|
|
|
DiskSpaceMessage();
|
|
|
ui->recordButton->setChecked(false);
|
|
|
return;
|
|
|
@@ -10887,7 +10887,7 @@ void OBSBasic::OutputPathInvalidMessage()
|
|
|
QTStr("Output.BadPath.Text"));
|
|
|
}
|
|
|
|
|
|
-bool OBSBasic::OutputPathValid()
|
|
|
+bool OBSBasic::IsFFmpegOutputToURL() const
|
|
|
{
|
|
|
const char *mode = config_get_string(Config(), "Output", "Mode");
|
|
|
if (strcmp(mode, "Advanced") == 0) {
|
|
|
@@ -10901,6 +10901,14 @@ bool OBSBasic::OutputPathValid()
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ return false;
|
|
|
+}
|
|
|
+
|
|
|
+bool OBSBasic::OutputPathValid()
|
|
|
+{
|
|
|
+ if (IsFFmpegOutputToURL())
|
|
|
+ return true;
|
|
|
+
|
|
|
const char *path = GetCurrentOutputPath();
|
|
|
return path && *path && QDir(path).exists();
|
|
|
}
|