diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2020-01-23 19:33:40 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-23 19:33:40 +0300 |
| commit | 8ff07e17e6f58a1102b9d8c36a995dec4dc2f041 (patch) | |
| tree | 2449fce4593828d3f2b407a9a8852e76b02e8f5e /MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs | |
| parent | 6eac7f0fa7e753731e3d65c0b6c0323eb730ccd8 (diff) | |
| parent | c751ba9f70ca19297406542869a08cec9fc1e558 (diff) | |
Merge pull request #2242 from Bond-009/getstream
Remove FileSystem.GetStream
Diffstat (limited to 'MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs index 0178f53af..e85ed2050 100644 --- a/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs +++ b/MediaBrowser.Api/Playback/Hls/DynamicHlsService.cs @@ -537,7 +537,7 @@ namespace MediaBrowser.Api.Playback.Hls return ResultFactory.GetStaticFileResult(Request, new StaticFileResultOptions { Path = segmentPath, - FileShare = FileShareMode.ReadWrite, + FileShare = FileShare.ReadWrite, OnComplete = () => { Logger.LogDebug("finished serving {0}", segmentPath); @@ -954,12 +954,12 @@ namespace MediaBrowser.Api.Playback.Hls // Unable to force key frames to h264_qsv transcode if (string.Equals(codec, "h264_qsv", StringComparison.OrdinalIgnoreCase)) { - Logger.LogInformation("Bug Workaround: Disabling force_key_frames for h264_qsv"); - } + Logger.LogInformation("Bug Workaround: Disabling force_key_frames for h264_qsv"); + } else { args += " " + keyFrameArg; - } + } //args += " -mixed-refs 0 -refs 3 -x264opts b_pyramid=0:weightb=0:weightp=0"; |
