mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
fixed hwaccel parameter not working in 5.0
This commit is contained in:
parent
aced406957
commit
7938ec3c0a
1 changed files with 1 additions and 3 deletions
|
@ -11,8 +11,6 @@ public HardwareAccelerationArgument(HardwareAccelerationDevice hardwareAccelerat
|
||||||
HardwareAccelerationDevice = hardwareAccelerationDevice;
|
HardwareAccelerationDevice = hardwareAccelerationDevice;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Text => HardwareAccelerationDevice != HardwareAccelerationDevice.Auto
|
public string Text => $"-hwaccel {HardwareAccelerationDevice.ToString().ToLower()}";
|
||||||
? $"-hwaccel {HardwareAccelerationDevice.ToString().ToLower()}"
|
|
||||||
: "-hwaccel";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue