From 9fb9b26b94a85fea3244a4c6b63fc0f7b22adba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Velad=20Galv=C3=A1n?= Date: Mon, 6 May 2024 10:40:27 +0200 Subject: [PATCH] fix(UI): Allow show same resolution with different video bandwidth (#6536) Fixes https://github.com/shaka-project/shaka-player/issues/6494 --- ui/resolution_selection.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/resolution_selection.js b/ui/resolution_selection.js index 7dbed84be2..35f20882ca 100644 --- a/ui/resolution_selection.js +++ b/ui/resolution_selection.js @@ -116,6 +116,7 @@ shaka.ui.ResolutionSelection = class extends shaka.ui.SettingsMenu { } else { otherIdx = tracks.findIndex((t) => { return t.height == track.height && + t.videoBandwidth == track.videoBandwidth && t.frameRate == track.frameRate && t.hdr == track.hdr && t.videoLayout == track.videoLayout;