fix: don't extract external sub (#11373)
This commit is contained in:
parent
5e34f6cd6c
commit
658a454d81
|
@ -463,7 +463,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var subtitleStreams = mediaSource.MediaStreams
|
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)
|
foreach (var subtitleStream in subtitleStreams)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user