code cleanup (#743)

* update tools

* run code cleanup

* update dependencies
This commit is contained in:
Jason Dove
2022-04-19 17:47:18 -05:00
committed by GitHub
parent e250e93a8e
commit c02b83d0d6
1223 changed files with 5487 additions and 5547 deletions
@@ -5,8 +5,8 @@ namespace ErsatzTV.FFmpeg.Encoder.Vaapi;
public class EncoderH264Vaapi : EncoderBase
{
private readonly FrameState _currentState;
private readonly Option<WatermarkInputFile> _maybeWatermarkInputFile;
private readonly Option<SubtitleInputFile> _maybeSubtitleInputFile;
private readonly Option<WatermarkInputFile> _maybeWatermarkInputFile;
public EncoderH264Vaapi(
FrameState currentState,
@@ -18,12 +18,6 @@ public class EncoderH264Vaapi : EncoderBase
_maybeSubtitleInputFile = maybeSubtitleInputFile;
}
public override FrameState NextState(FrameState currentState) => currentState with
{
VideoFormat = VideoFormat.H264,
// don't change the frame data location
};
public override string Name => "h264_vaapi";
public override StreamKind Kind => StreamKind.Video;
@@ -43,4 +37,10 @@ public class EncoderH264Vaapi : EncoderBase
return string.Empty;
}
}
public override FrameState NextState(FrameState currentState) => currentState with
{
VideoFormat = VideoFormat.H264
// don't change the frame data location
};
}