UI: Don't allow lossless preset when streaming NVENC

This commit is contained in:
jp9000 committed 2016-05-05 00:19:38 -07:00
1 parent ff38176c60
commit 0288ea66af
1 file changed
+3
+3
View File
@@ -3179,6 +3179,9 @@ void OBSBasicSettings::SimpleStreamingEncoderChanged()
* not streaming */
if (strcmp(val, "bd") == 0)
continue;
/* lossless should of course not be used to stream */
if (astrcmp_n(val, "lossless", 8) == 0)
continue;
ui->simpleOutPreset->addItem(QT_UTF8(name), val);
}