Files
ersatztv/ErsatzTV.FFmpeg/Encoder/Vaapi/EncoderMpeg2Vaapi.cs
Jason Dove 2689a67eb8 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
2023-01-29 10:00:52 -06:00

15 lines
425 B
C#

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
};
}