浏览代码

fixes #2485 - mpeg4 is still trying to be transcoded by VAAPI

Luke Pulverenti 8 年之前
父节点
当前提交
cb5ae69fb9
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

+ 1 - 4
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

@@ -87,10 +87,7 @@ namespace MediaBrowser.Controller.MediaEncoding
                 // [vaapi @ 0x7faed8000960] No VAAPI support for codec mpeg4 profile -99.
                 if (string.Equals(videoStream.Codec, "mpeg4", StringComparison.OrdinalIgnoreCase))
                 {
-                    if (videoStream.Level == -99 || videoStream.Level == 15)
-                    {
-                        return false;
-                    }
+                    return false;
                 }
             }
             return true;