Skip to content

Commit

Permalink
UI: Don't allow lossless preset when streaming NVENC
Browse files Browse the repository at this point in the history
  • Loading branch information
jp9000 committed May 5, 2016
1 parent ff38176 commit 0288ea6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions obs/window-basic-settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0288ea6

Please sign in to comment.