Merge pull request #16380 from LTe/fix-subtitle-extraction-setting

Respect EnableSubtitleExtraction setting in subtitle delivery
This commit is contained in:
Bond-009 2026-04-11 11:37:17 +02:00 committed by GitHub
commit 046023b9dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 57 additions and 3 deletions

View file

@ -1555,7 +1555,7 @@ namespace MediaBrowser.Model.Dlna
continue;
}
if (!subtitleStream.IsExternal && !transcoderSupport.CanExtractSubtitles(subtitleStream.Codec))
if (!subtitleStream.IsExternal && playMethod == PlayMethod.Transcode && !transcoderSupport.CanExtractSubtitles(subtitleStream.Codec))
{
continue;
}