diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-11-11 22:05:13 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-11-11 22:05:13 -0500 |
| commit | fb86c4f0a398fb873d859e2cb4551061c62c4d61 (patch) | |
| tree | 3534c2f12eb564a8d04391bb67d716c6f29148e6 | |
| parent | b44da13a45d4fa572be2ae04214c4cf2ef0ec0e5 (diff) | |
update qsv encoding
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index 7185adc2b..29335e298 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -291,10 +291,10 @@ namespace MediaBrowser.Api.Playback { get { - //if (string.Equals(ApiEntryPoint.Instance.GetEncodingOptions().HardwareVideoDecoder, "qsv", StringComparison.OrdinalIgnoreCase)) - //{ - // return "h264_qsv"; - //} + if (string.Equals(ApiEntryPoint.Instance.GetEncodingOptions().HardwareVideoDecoder, "qsv", StringComparison.OrdinalIgnoreCase)) + { + return "h264_qsv"; + } return "libx264"; } @@ -331,7 +331,7 @@ namespace MediaBrowser.Api.Playback // h264 (h264_qsv) else if (string.Equals(videoCodec, "h264_qsv", StringComparison.OrdinalIgnoreCase)) { - param = "-preset 7"; + param = "-preset 7 -look_ahead 0"; } |
