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
This commit is contained in:
Neptune
2026-05-31 22:18:25 +07:00
committed by GitHub
parent 13c6549b42
commit 6f0ff89bdc
4 changed files with 74 additions and 15 deletions

View File

@@ -127,6 +127,11 @@ namespace Emby.Server.Implementations.Library
return true;
}
if (stream.IsVobSubSubtitleStream)
{
return true;
}
return false;
}