|
@@ -814,14 +814,18 @@ AutoConfig::AutoConfig(QWidget *parent)
|
|
|
streamPage->ui->bitrate->setValue(bitrate);
|
|
|
streamPage->ServiceChanged();
|
|
|
|
|
|
- streamPage->ui->preferHardware->setChecked(os_get_physical_cores() <= 4);
|
|
|
-
|
|
|
TestHardwareEncoding();
|
|
|
if (!hardwareEncodingAvailable) {
|
|
|
delete streamPage->ui->preferHardware;
|
|
|
streamPage->ui->preferHardware = nullptr;
|
|
|
}
|
|
|
|
|
|
+ /* Newer generations of NVENC have a high enough quality to bitrate
|
|
|
+ * ratio that if NVENC is available, it makes sense to just always
|
|
|
+ * prefer hardware encoding by default */
|
|
|
+ bool preferHardware = nvencAvailable || os_get_physical_cores() <= 4;
|
|
|
+ streamPage->ui->preferHardware->setChecked(preferHardware);
|
|
|
+
|
|
|
setOptions(0);
|
|
|
setButtonText(QWizard::FinishButton,
|
|
|
QTStr("Basic.AutoConfig.ApplySettings"));
|