qsv and vaapi fixes (#1139)

* lots of qsv fixes

* update changelog

* fix qsv mpeg2

* vaapi fixes

* update changelog

* upgrade mudblazor

* fix bug with undefined input colorspace
This commit is contained in:
Jason Dove
2023-01-29 10:00:52 -06:00
committed by GitHub
parent 3d821043bb
commit 2689a67eb8
23 changed files with 279 additions and 95 deletions
@@ -0,0 +1,14 @@
using ErsatzTV.FFmpeg.Format;
namespace ErsatzTV.FFmpeg.Encoder.Vaapi;
public class EncoderMpeg2Vaapi : EncoderBase
{
public override string Name => "mpeg2_vaapi";
public override StreamKind Kind => StreamKind.Video;
public override FrameState NextState(FrameState currentState) => currentState with
{
VideoFormat = VideoFormat.Mpeg2Video
// don't change the frame data location
};
}