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:
parent
0f8c405e15
commit
89fbc5449e
2 changed files with 5 additions and 3 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue