private ChapterTimeSpan ChangeFps(ChapterTimeSpan timeSpan, double fps) { return(ChapterTimeSpan.FromFrameRate(timeSpan.TotalSeconds, _framesPerSecond, fps)); }
public void ChangeFps(double newFps) { _chapters = _chapters.Select(cts => ChangeFps(cts, newFps)).ToList(); _duration = ChapterTimeSpan.FromFrameRate(_duration.TotalSeconds, _framesPerSecond, newFps); _framesPerSecond = newFps; }