aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/BaseStreamingService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-10-16 13:11:32 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-10-16 13:11:32 -0400
commit55f47d21204bd166ab214256c7b8dd05c4d7ccd4 (patch)
tree3446513c681a5f80088baca360f04b50fc73aacc /MediaBrowser.Api/Playback/BaseStreamingService.cs
parent401dc39e4cfa9d9eea51003187a39ea5c7f1aba8 (diff)
update recording defaults
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;
}
}
}