aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/MediaSourceManager.cs
diff options
context:
space:
mode:
authorNeptune <al@altqx.com>2026-05-31 22:18:25 +0700
committerGitHub <noreply@github.com>2026-05-31 17:18:25 +0200
commit6f0ff89bdcc1961ec630f43f012528ab79022a9f (patch)
treea67ffbff686b94ef6fed8cbc0275078085e437a0 /Emby.Server.Implementations/Library/MediaSourceManager.cs
parent13c6549b42ed58eb5f0196a9317295abd997484c (diff)
Add support for VobSub subtitle streams (#16552)
* Add support for VobSub subtitle streams * update logic to determine separate extraction for VobSub subtitles * simplify VobSub extraction logic and fix ffmpeg command * Match `ExtractAllExtractableSubtitlesMKS` with `ExtractAllExtractableSubtitlesInternal` Matroska's VobSub option * Add a comments clarify why MKS was used, and remove the redundant VobSub extension branch * remove redundant VobSub format check * fix type errors
Diffstat (limited to 'Emby.Server.Implementations/Library/MediaSourceManager.cs')
-rw-r--r--Emby.Server.Implementations/Library/MediaSourceManager.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Library/MediaSourceManager.cs b/Emby.Server.Implementations/Library/MediaSourceManager.cs
index 66614c6725..0caf66555a 100644
--- a/Emby.Server.Implementations/Library/MediaSourceManager.cs
+++ b/Emby.Server.Implementations/Library/MediaSourceManager.cs
@@ -127,6 +127,11 @@ namespace Emby.Server.Implementations.Library
return true;
}
+ if (stream.IsVobSubSubtitleStream)
+ {
+ return true;
+ }
+
return false;
}