* upgrade sdk * fix warnings in ersatztv.ffmpeg * fix warnings in ersatztv.core * fix warnings in ersatztv.infrastructure * fix warnings in ersatztv.application * disable analysis for migrations projects * fix warnings in ersatztv.scanner * fix warnings in ersatztv * upgrade project framework * update github actions and dockerfiles
12 lines
376 B
C#
12 lines
376 B
C#
namespace ErsatzTV.FFmpeg.GlobalOption.HardwareAcceleration;
|
|
|
|
public class VideoToolboxHardwareAccelerationOption : GlobalOption
|
|
{
|
|
public override string[] GlobalOptions => new[] { "-hwaccel", "videotoolbox" };
|
|
|
|
public override FrameState NextState(FrameState currentState) => currentState with
|
|
{
|
|
FrameDataLocation = FrameDataLocation.Software
|
|
};
|
|
}
|