mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Don't allow lossless preset when streaming NVENC
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user