diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-11-06 10:02:22 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-11-06 10:02:22 -0500 |
| commit | ce34c35b944ec8dcc56a4a68ac4d363d0f76db06 (patch) | |
| tree | d6e908382140093734ccab97e42b9e4cc889cc7c /MediaBrowser.Api/Playback/BaseStreamingService.cs | |
| parent | 6aa3313bc05fe5a26cee8944c00489c022612069 (diff) | |
encode with qsv
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index 426f1883e..e184e9ac9 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -291,6 +291,11 @@ namespace MediaBrowser.Api.Playback { get { + if (string.Equals(ApiEntryPoint.Instance.GetEncodingOptions().HardwareVideoDecoder, "qsv", StringComparison.OrdinalIgnoreCase)) + { + return "h264_qsv"; + } + return "libx264"; } } |
