From 0288ea66af44979021524b76734ab16118ab9e67 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 5 May 2016 00:19:38 -0700 Subject: [PATCH] UI: Don't allow lossless preset when streaming NVENC --- obs/window-basic-settings.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/obs/window-basic-settings.cpp b/obs/window-basic-settings.cpp index aab1ad517..c6634a797 100644 --- a/obs/window-basic-settings.cpp +++ b/obs/window-basic-settings.cpp @@ -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); }