aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/webtorrent/webtorrent-plugin.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/webtorrent/webtorrent-plugin.ts')
-rw-r--r--client/src/assets/player/webtorrent/webtorrent-plugin.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/webtorrent/webtorrent-plugin.ts b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
index e27a16390..b648b29e8 100644
--- a/client/src/assets/player/webtorrent/webtorrent-plugin.ts
+++ b/client/src/assets/player/webtorrent/webtorrent-plugin.ts
@@ -649,7 +649,7 @@ class WebTorrentPlugin extends Plugin {
649 } 649 }
650 650
651 private changeQuality () { 651 private changeQuality () {
652 const resolutionId = this.currentVideoFile.resolution.id 652 const resolutionId = this.currentVideoFile.resolution.id as number
653 const qualityLevels = this.player.qualityLevels() 653 const qualityLevels = this.player.qualityLevels()
654 654
655 if (resolutionId === -1) { 655 if (resolutionId === -1) {