move loopback util

This commit is contained in:
Luke Pulverenti
2017-03-10 13:33:17 -05:00
parent 8931b949f8
commit fc2a5acfca
10 changed files with 82 additions and 445 deletions

View File

@@ -1670,6 +1670,11 @@ namespace MediaBrowser.Controller.MediaEncoding
case "h264":
if (_mediaEncoder.SupportsDecoder("h264_qsv"))
{
// qsv decoder does not support 10-bit input
if ((state.VideoStream.BitDepth ?? 8) > 8)
{
return null;
}
return "-c:v h264_qsv ";
}
break;