aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library
diff options
context:
space:
mode:
authorDavid Schulte <mail@david-schulte.de>2024-07-15 14:48:09 +0200
committerGitHub <noreply@github.com>2024-07-15 08:48:09 -0400
commitfc1bee30a62e2e31682809c8245a117f7ecbddd5 (patch)
tree58c8dd393434882d10827ce51128212a94dcdf24 /Emby.Server.Implementations/Library
parent3262f8dc2a7e8fb03ecd345eeca70bdb372389e3 (diff)
Allow streaming of raw PGS subtitles without transcoding (#12056)
Diffstat (limited to 'Emby.Server.Implementations/Library')
-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 5ec333cb1..bb22ca82f 100644
--- a/Emby.Server.Implementations/Library/MediaSourceManager.cs
+++ b/Emby.Server.Implementations/Library/MediaSourceManager.cs
@@ -113,6 +113,11 @@ namespace Emby.Server.Implementations.Library
return true;
}
+ if (stream.IsPgsSubtitleStream)
+ {
+ return true;
+ }
+
return false;
}