mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-25 19:44:43 +01:00
update hls subtitles
This commit is contained in:
@@ -783,6 +783,11 @@ namespace MediaBrowser.Model.Dlna
|
||||
continue;
|
||||
}
|
||||
|
||||
if (profile.Method == SubtitleDeliveryMethod.Hls && playMethod != PlayMethod.Transcode)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!profile.SupportsLanguage(subtitleStream.Language))
|
||||
{
|
||||
continue;
|
||||
@@ -799,12 +804,6 @@ namespace MediaBrowser.Model.Dlna
|
||||
{
|
||||
return profile;
|
||||
}
|
||||
|
||||
// For sync we can handle the longer extraction times
|
||||
if (context == EncodingContext.Static && subtitleStream.IsTextSubtitleStream)
|
||||
{
|
||||
return profile;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user