aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/BaseStreamingService.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-10-17 12:32:57 -0400
committerGitHub <noreply@github.com>2016-10-17 12:32:57 -0400
commitfb9db5c3c36eca578369cb398c36efd6a15bbea9 (patch)
tree98e41f78dd5d7c474ce763157eb3503a165088ed /MediaBrowser.Api/Playback/BaseStreamingService.cs
parentf8a248ffd805b810e90bc5ec0619e53f49ebcae5 (diff)
parentb0147c32f9122c6ce695d2919176ed8b50b94fda (diff)
Merge pull request #2240 from MediaBrowser/beta
Beta
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 0e91c0b9e..eb80ae89e 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -1735,6 +1735,13 @@ namespace MediaBrowser.Api.Playback
{
request.Tag = val;
}
+ else if (i == 29)
+ {
+ if (videoRequest != null)
+ {
+ videoRequest.EnableSplittingOnNonKeyFrames = string.Equals("true", val, StringComparison.OrdinalIgnoreCase);
+ }
+ }
}
}
@@ -2354,6 +2361,7 @@ namespace MediaBrowser.Api.Playback
{
state.VideoRequest.CopyTimestamps = transcodingProfile.CopyTimestamps;
state.VideoRequest.EnableSubtitlesInManifest = transcodingProfile.EnableSubtitlesInManifest;
+ state.VideoRequest.EnableSplittingOnNonKeyFrames = transcodingProfile.EnableSplittingOnNonKeyFrames;
}
}
}