diff options
Diffstat (limited to 'client/src/assets/player/webtorrent/webtorrent-plugin.ts')
-rw-r--r-- | client/src/assets/player/webtorrent/webtorrent-plugin.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts index 3d335acbc..d26fc38fa 100644 --- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts +++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts | |||
@@ -650,8 +650,8 @@ class WebTorrentPlugin extends Plugin { | |||
650 | } | 650 | } |
651 | 651 | ||
652 | for (let i = 0; i < qualityLevels.length; i++) { | 652 | for (let i = 0; i < qualityLevels.length; i++) { |
653 | const q = this.player.qualityLevels[i] | 653 | const q = qualityLevels[i] |
654 | if (q.height === resolutionId) qualityLevels.selectedIndex = i | 654 | if (q.height === resolutionId) qualityLevels.selectedIndex_ = i |
655 | } | 655 | } |
656 | } | 656 | } |
657 | } | 657 | } |