fix: don't extract external sub (#11373)

pull/11378/head
gnattu 2 weeks ago committed by GitHub
parent 5e34f6cd6c
commit 658a454d81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -463,7 +463,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
try
{
var subtitleStreams = mediaSource.MediaStreams
.Where(stream => stream.IsTextSubtitleStream && stream.SupportsExternalStream);
.Where(stream => stream is { IsTextSubtitleStream: true, SupportsExternalStream: true, IsExternal: false });
foreach (var subtitleStream in subtitleStreams)
{

Loading…
Cancel
Save