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