aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-03-28 13:32:24 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-03-28 13:32:24 -0400
commit2dbe162e45269df00fb44fbe5340b72758399307 (patch)
tree1e40408a0167aa2dca47ac07b16afa26e94d18d1 /MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
parentd1e2ccdfeceeebad2b46fdd0ee3723051234dba6 (diff)
revert buffer size
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs')
-rw-r--r--MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
index 5eaab4110..b7b31509c 100644
--- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
+++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
@@ -164,6 +164,10 @@ namespace MediaBrowser.Controller.MediaEncoding
{
return null;
}
+ if (string.Equals(container, "mts", StringComparison.OrdinalIgnoreCase))
+ {
+ return null;
+ }
if (string.Equals(container, "vob", StringComparison.OrdinalIgnoreCase))
{
return null;
@@ -1709,6 +1713,13 @@ namespace MediaBrowser.Controller.MediaEncoding
return "-c:v h264_qsv ";
}
break;
+ //case "hevc":
+ //case "h265":
+ // if (_mediaEncoder.SupportsDecoder("hevc_qsv"))
+ // {
+ // return "-c:v hevc_qsv ";
+ // }
+ // break;
case "mpeg2video":
if (_mediaEncoder.SupportsDecoder("mpeg2_qsv"))
{