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.
8 lines
304 B
8 lines
304 B
namespace ErsatzTV.FFmpeg.Filter; |
|
|
|
public class ResetPtsFilter(FrameRate frameRate) : BaseFilter |
|
{ |
|
public override string Filter => $"setpts=PTS-STARTPTS,fps={frameRate.RFrameRate}"; |
|
|
|
public override FrameState NextState(FrameState currentState) => currentState with { FrameRate = frameRate }; |
|
}
|
|
|