mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-06 07:36:12 -05:00
UI: Show video container warning when selecting MOV
MOV and MP4 are closely related and the warning message applies to both of these container formats. Closes #1683
This commit is contained in:
@@ -3888,7 +3888,8 @@ void OBSBasicSettings::AdvOutRecCheckWarnings()
|
||||
warningMsg = QTStr("OutputWarnings.MultiTrackRecording");
|
||||
}
|
||||
|
||||
if (ui->advOutRecFormat->currentText().compare("mp4") == 0) {
|
||||
if (ui->advOutRecFormat->currentText().compare("mp4") == 0 ||
|
||||
ui->advOutRecFormat->currentText().compare("mov") == 0) {
|
||||
if (!warningMsg.isEmpty())
|
||||
warningMsg += "\n\n";
|
||||
warningMsg += QTStr("OutputWarnings.MP4Recording");
|
||||
@@ -4347,7 +4348,8 @@ void OBSBasicSettings::SimpleRecordingEncoderChanged()
|
||||
}
|
||||
}
|
||||
|
||||
if (ui->simpleOutRecFormat->currentText().compare("mp4") == 0) {
|
||||
if (ui->simpleOutRecFormat->currentText().compare("mp4") == 0 ||
|
||||
ui->simpleOutRecFormat->currentText().compare("mov") == 0) {
|
||||
if (!warning.isEmpty())
|
||||
warning += "\n\n";
|
||||
warning += QTStr("OutputWarnings.MP4Recording");
|
||||
|
||||
Reference in New Issue
Block a user