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
Former-commit-id: 7938ec3c0a
This commit is contained in:
parent
4b79891bb7
commit
0d7bf18832
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