diff --git a/Sources/KSPlayer/MEPlayer/FFmpegAssetTrack.swift b/Sources/KSPlayer/MEPlayer/FFmpegAssetTrack.swift index 97653eaf5..957e09f9f 100644 --- a/Sources/KSPlayer/MEPlayer/FFmpegAssetTrack.swift +++ b/Sources/KSPlayer/MEPlayer/FFmpegAssetTrack.swift @@ -104,7 +104,7 @@ public class FFmpegAssetTrack: MediaPlayerTrack { if let value = metadata["title"] { name = value } else { - name = codecName + name = languageCode ?? codecName } // AV_DISPOSITION_DEFAULT if mediaType == .subtitle {