aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/BaseStreamingService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-11-06 10:02:22 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-11-06 10:02:22 -0500
commitce34c35b944ec8dcc56a4a68ac4d363d0f76db06 (patch)
treed6e908382140093734ccab97e42b9e4cc889cc7c /MediaBrowser.Api/Playback/BaseStreamingService.cs
parent6aa3313bc05fe5a26cee8944c00489c022612069 (diff)
encode with qsv
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs5
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";
}
}