From 128406078848f598c9d01b2aed45bf4bac11c9e7 Mon Sep 17 00:00:00 2001 From: kintan Date: Fri, 22 Sep 2023 19:47:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E8=87=AA=E5=8A=A8=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=AD=97=E5=B9=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/KSPlayer/AVPlayer/KSVideoPlayer.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/KSPlayer/AVPlayer/KSVideoPlayer.swift b/Sources/KSPlayer/AVPlayer/KSVideoPlayer.swift index fa38676f8..ed5462e8a 100644 --- a/Sources/KSPlayer/AVPlayer/KSVideoPlayer.swift +++ b/Sources/KSPlayer/AVPlayer/KSVideoPlayer.swift @@ -210,7 +210,6 @@ extension KSVideoPlayer.Coordinator: KSPlayerLayerDelegate { playbackRate = layer.player.playbackRate videoTracks = layer.player.tracks(mediaType: .video) audioTracks = layer.player.tracks(mediaType: .audio) - subtitleModel.selectedSubtitleInfo = subtitleModel.subtitleInfos.first selectedAudioTrack = audioTracks.first { $0.isEnabled } selectedVideoTrack = videoTracks.first { $0.isEnabled } if let subtitleDataSouce = layer.player.subtitleDataSouce {