diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-29 14:22:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-29 14:22:32 +0100 |
commit | 8ff604c7e300eec5c0b29644292d6399521a1930 (patch) | |
tree | 02f95842c945733967a7d447aa610d138a0dffbe /client/src/assets/player/videojs-components | |
parent | 3ae0bbd23c6f1b2790975328d8eae6a8317c223d (diff) | |
download | PeerTube-8ff604c7e300eec5c0b29644292d6399521a1930.tar.gz PeerTube-8ff604c7e300eec5c0b29644292d6399521a1930.tar.zst PeerTube-8ff604c7e300eec5c0b29644292d6399521a1930.zip |
Fix wrong audio only resolution label for hls
Diffstat (limited to 'client/src/assets/player/videojs-components')
-rw-r--r-- | client/src/assets/player/videojs-components/resolution-menu-button.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/videojs-components/resolution-menu-button.ts b/client/src/assets/player/videojs-components/resolution-menu-button.ts index 86be03af7..2de3ece19 100644 --- a/client/src/assets/player/videojs-components/resolution-menu-button.ts +++ b/client/src/assets/player/videojs-components/resolution-menu-button.ts | |||
@@ -75,7 +75,7 @@ class ResolutionMenuButton extends MenuButton { | |||
75 | // Skip auto resolution, we'll add it ourselves | 75 | // Skip auto resolution, we'll add it ourselves |
76 | if (d.id === -1) continue | 76 | if (d.id === -1) continue |
77 | 77 | ||
78 | const label = d.id === 0 | 78 | const label = d.label === '0p' |
79 | ? this.player.localize('Audio-only') | 79 | ? this.player.localize('Audio-only') |
80 | : d.label | 80 | : d.label |
81 | 81 | ||