mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update src/controllers/playback/video/index.js
Co-authored-by: viown <48097677+viown@users.noreply.github.com>
This commit is contained in:
parent
3f60e7df4c
commit
788ddaa6d8
1 changed files with 1 additions and 1 deletions
|
@ -1178,7 +1178,7 @@ export default function (view) {
|
|||
|
||||
function autoSelectSubtitleTrack() {
|
||||
const player = currentPlayer;
|
||||
const streams = playbackManager.subtitleTracks(player) ?? [];
|
||||
const streams = playbackManager.subtitleTracks(player);
|
||||
const currentIndex = playbackManager.getSubtitleStreamIndex(player) ?? -1;
|
||||
const defaultIndex = player?.streamInfo?.mediaSource?.DefaultSubtitleStreamIndex ?? -1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue