diff options
| author | Oskar Bali <51484222+Oggeb1@users.noreply.github.com> | 2026-08-29 13:52:20 +0200 |
|---|---|---|
| committer | Oskar Bali <51484222+Oggeb1@users.noreply.github.com> | 2026-08-29 13:52:20 +0200 |
| commit | 163895b99f780df1ce8f50f3d0e17f4a2880e251 (patch) | |
| tree | d9171b057f1b16bd326afac6c55cfb25044ddba6 /MediaBrowser.Controller | |
| parent | c15656280e7f8ee9cc10bd353060304af20b3a0e (diff) | |
Fix BDMV with external subtitle
GetSubtitleStreamIndexForFfmpeg treated
external and internal subtitles the same. This
made subtitles out of sync with the video.
Diffstat (limited to 'MediaBrowser.Controller')
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index 9e6d4a2899..cb01c1486b 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs @@ -7946,7 +7946,7 @@ namespace MediaBrowser.Controller.MediaEncoding public static int GetSubtitleStreamIndexForFfmpeg(MediaSourceInfo mediaSource, MediaStream subtitleStream) { var index = FindIndex(mediaSource.MediaStreams, subtitleStream); - if (index == -1 || mediaSource.VideoType != VideoType.BluRay) + if (index == -1 || subtitleStream.IsExternal || mediaSource.VideoType != VideoType.BluRay) { return index; } |
