mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
412 B
11 lines
412 B
using ErsatzTV.FFmpeg.Format; |
|
|
|
namespace ErsatzTV.FFmpeg.Filter; |
|
|
|
public class OverlayGraphicsEngineFilter(IPixelFormat outputPixelFormat) : BaseFilter |
|
{ |
|
public override string Filter => $"overlay=format={(outputPixelFormat.BitDepth == 10 ? '1' : '0')}"; |
|
|
|
public override FrameState NextState(FrameState currentState) => |
|
currentState with { FrameDataLocation = FrameDataLocation.Software }; |
|
}
|
|
|