aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/BaseStreamingService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-07-13 15:16:51 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-07-13 15:16:51 -0400
commite44a24d9e5529dd4863713bb7059255e9be6cb6e (patch)
tree6895bc5eb16dc45a85e3e46b28ee7646740de0a3 /MediaBrowser.Api/Playback/BaseStreamingService.cs
parent2254546ea53e51a263e9760e2402bcfec851e62c (diff)
update hls subtitles
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index 15223a651..f60a106da 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -1568,6 +1568,13 @@ namespace MediaBrowser.Api.Playback
{
request.TranscodingMaxAudioChannels = int.Parse(val, UsCulture);
}
+ else if (i == 28)
+ {
+ if (videoRequest != null)
+ {
+ videoRequest.EnableSubtitlesInManifest = string.Equals("true", val, StringComparison.OrdinalIgnoreCase);
+ }
+ }
}
}
@@ -2140,6 +2147,7 @@ namespace MediaBrowser.Api.Playback
{
state.VideoRequest.CopyTimestamps = transcodingProfile.CopyTimestamps;
state.VideoRequest.ForceLiveStream = transcodingProfile.ForceLiveStream;
+ state.VideoRequest.EnableSubtitlesInManifest = transcodingProfile.EnableSubtitlesInManifest;
}
}
}