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

This commit is contained in:
Luke Pulverenti 2017-02-23 23:23:56 -05:00
parent 592c1a7f24
commit cb5ae69fb9

View file

@ -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;