Skip to content

Commit a769dbe

Browse files
summeroffclaude
andauthored
Fix AMD AV1 advanced encoder id in videoEncoderOptions table (#1771)
The AMD HW AV1 row used the simple encoder id (amd_av1) in the advanced_name field instead of the advanced encoder id (av1_texture_amf). Since no OBS plugin registers an encoder named amd_av1, isEncoderRegistered always failed and the row was filtered out of the Advanced-mode encoder dropdown on every AMD GPU. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 3c3aad5 commit a769dbe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎obs-studio-server/source/osn-encoders.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ const std::vector<osn::EncoderUtils::EncoderSettings> osn::EncoderUtils::videoEn
7878
{"AMD HW H.265 (HEVC)", ADVANCED_ENCODER_AMD_HEVC, "Hardware (AMD, HEVC)", SIMPLE_ENCODER_AMD_HEVC, ADVANCED_ENCODER_AMD_HEVC, "", true, true, true,
7979
true, true, false, PRESET_AMD, FAMILY_AMD},
8080
// AMD HW AV1
81-
{"AMD HW AV1", SIMPLE_ENCODER_AMD_AV1, "Hardware (AMD, AV1)", SIMPLE_ENCODER_AMD_AV1, ADVANCED_ENCODER_AMD_AV1, "", true, true, true, true, true, false,
82-
PRESET_AMD, FAMILY_AMD},
81+
{"AMD HW AV1", ADVANCED_ENCODER_AMD_AV1, "Hardware (AMD, AV1)", SIMPLE_ENCODER_AMD_AV1, ADVANCED_ENCODER_AMD_AV1, "", true, true, true, true, true,
82+
false, PRESET_AMD, FAMILY_AMD},
8383
// AOM AV1
8484
{"AOM AV1", ENCODER_AV1_AOM_FFMPEG, "", "", "", "", true, true, true, true, true, false, DEFAULT_PRESET, FAMILY_FFMPEG},
8585
// SVT-AV1

0 commit comments

Comments
 (0)