UI: Don't display MP4/MOV warning if lossless

master
jp9000 2019-07-06 08:56:18 -07:00
parent 8caa4f938c
commit 3a6a1a4ff8
1 changed files with 3 additions and 2 deletions

View File

@ -4389,8 +4389,9 @@ void OBSBasicSettings::SimpleRecordingEncoderChanged()
}
}
if (ui->simpleOutRecFormat->currentText().compare("mp4") == 0 ||
ui->simpleOutRecFormat->currentText().compare("mov") == 0) {
if (qual != "Lossless" &&
(ui->simpleOutRecFormat->currentText().compare("mp4") == 0 ||
ui->simpleOutRecFormat->currentText().compare("mov") == 0)) {
if (!warning.isEmpty())
warning += "\n\n";
warning += QTStr("OutputWarnings.MP4Recording");