Skip to content

Commit ee5de11

Browse files
authored
fix(UI): Fix 3D detection (#8725)
1 parent 084d35a commit ee5de11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/resolution_selection.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,8 @@ shaka.ui.ResolutionSelection = class extends shaka.ui.SettingsMenu {
476476
if (track.hdr == 'PQ' || track.hdr == 'HLG') {
477477
text += ' HDR';
478478
}
479-
if (track.videoLayout == 'CH-STEREO') {
479+
const videoLayout = track.videoLayout || '';
480+
if (videoLayout.includes('CH-STEREO')) {
480481
text += ' 3D';
481482
}
482483
const basicResolutionComparison = (firstTrack, secondTrack) => {

0 commit comments

Comments
 (0)