UI: Add AMD AV1 encoder to simple output mode

Fixes https://github.com/obsproject/obs-studio/issues/8584
This commit is contained in:
Richard Stanway 2023-03-30 04:04:43 +02:00 committed by Ryan Foster
parent 9a24b1ad06
commit e0f674de86

View file

@ -1617,6 +1617,10 @@ void OBSBasicSettings::ResetEncoders(bool streamOnly)
ui->simpleOutStrEncoder->addItem(
ENCODER_STR("Hardware.AMD.H264"),
QString(SIMPLE_ENCODER_AMD));
if (service_supports_encoder(vcodecs, "av1_texture_amf"))
ui->simpleOutStrEncoder->addItem(
ENCODER_STR("Hardware.AMD.AV1"),
QString(SIMPLE_ENCODER_AMD_AV1));
/* Preprocessor guard required for the macOS version check */
#ifdef __APPLE__
if (service_supports_encoder(