|
|
|
@ -20,7 +20,7 @@ public class QsvHardwareAccelerationOption : GlobalOption |
|
|
|
get |
|
|
|
get |
|
|
|
{ |
|
|
|
{ |
|
|
|
string[] initDevices = OperatingSystem.IsWindows() |
|
|
|
string[] initDevices = OperatingSystem.IsWindows() |
|
|
|
? new[] { "-init_hw_device", "qsv=hw:hw,child_device_type=dxva2", "-filter_hw_device", "hw" } |
|
|
|
? new[] { "-init_hw_device", "d3d11va=hw:,vendor=0x8086", "-filter_hw_device", "hw" } |
|
|
|
: new[] { "-init_hw_device", "qsv=hw", "-filter_hw_device", "hw" }; |
|
|
|
: new[] { "-init_hw_device", "qsv=hw", "-filter_hw_device", "hw" }; |
|
|
|
|
|
|
|
|
|
|
|
var result = new List<string> |
|
|
|
var result = new List<string> |
|
|
|
|