Fix wrong audio only resolution label for hls

pull/2482/head
Chocobozzz 2020-01-29 14:22:32 +01:00
parent 3ae0bbd23c
commit 8ff604c7e3
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class ResolutionMenuButton extends MenuButton {
// Skip auto resolution, we'll add it ourselves
if (d.id === -1) continue
const label = d.id === 0
const label = d.label === '0p'
? this.player.localize('Audio-only')
: d.label