Browse Source

simplify qsv accel syntax on linux (#1189)

pull/1191/head
Jason Dove 3 years ago committed by GitHub
parent
commit
074816be50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ErsatzTV.FFmpeg/Option/HardwareAcceleration/QsvHardwareAccelerationOption.cs

2
ErsatzTV.FFmpeg/Option/HardwareAcceleration/QsvHardwareAccelerationOption.cs

@ -24,7 +24,7 @@ public class QsvHardwareAccelerationOption : GlobalOption
{ {
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", "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> var result = new List<string>
{ {

Loading…
Cancel
Save