Skip to content

Commit 00ae291

Browse files
authored
fix(UI): Make UI display 4096x2160 (DCI 4k) video as also being "4k" (#8359)
Fixes #8357
1 parent b9c5571 commit 00ae291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/resolution_selection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ shaka.ui.ResolutionSelection = class extends shaka.ui.SettingsMenu {
272272
height = Math.round(trackWidth * 9 / 16);
273273
}
274274
let text = height + 'p';
275-
if (height == 2160) {
275+
if (height == 2160 || trackHeight == 2160) {
276276
text = '4K';
277277
}
278278
const frameRates = new Set();

0 commit comments

Comments
 (0)