Skip to content

Commit

Permalink
Fix decipherability in debug window
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Dec 5, 2023
1 parent e609a56 commit a477e6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/api/debug/modules/general_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,12 @@ export default function constructDebugGeneralInfo(
const videoBitratesStr = adaptations?.video?.representations.map((r) => {
return String(r.bitrate ?? "N/A") +
(r.isSupported ? "" : " U!") +
(r.decipherable === false ? "" : " E!");
(r.decipherable !== false ? "" : " E!");
}) ?? [];
const audioBitratesStr = adaptations?.video?.representations.map((r) => {
return String(r.bitrate ?? "N/A") +
(r.isSupported ? "" : " U!") +
(r.decipherable === false ? "" : " E!");
(r.decipherable !== false ? "" : " E!");
}) ?? [];
representationsElt.innerHTML = "";
if (videoBitratesStr.length > 0) {
Expand Down

0 comments on commit a477e6e

Please sign in to comment.