1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

cleanup: drop extra aac condition

There is a condition for any audio codec.
This commit is contained in:
Dmitry Lyzo 2024-02-26 20:56:32 +03:00
parent d68ef36465
commit ec8763c1e4

View file

@ -889,15 +889,6 @@ export default function (options) {
}); });
} }
if (!supportsSecondaryAudio) {
aacCodecProfileConditions.push({
Condition: 'Equals',
Property: 'IsSecondaryAudio',
Value: 'false',
IsRequired: false
});
}
if (aacCodecProfileConditions.length) { if (aacCodecProfileConditions.length) {
profile.CodecProfiles.push({ profile.CodecProfiles.push({
Type: 'VideoAudio', Type: 'VideoAudio',