update hls subtitles

This commit is contained in:
Luke Pulverenti
2016-03-07 13:50:58 -05:00
parent a8296cba37
commit 9b8f85ea81
9 changed files with 31 additions and 26 deletions

View File

@@ -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;
}
}
}
}