fix(render): report an unreadable playback rate instead of ignoring it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
2 files changed
+12
-1
No files matched your search
@@ -173,6 +173,15 @@ public sealed class RenderPlanTests
|
||||
Assert.Approximately(0.1 * 60, bad.Frames[0].SourcePosition, 1e-9);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AnUnreadablePlaybackRateFallsBackToTheOutputRate()
|
||||
{
|
||||
var plan = RenderPlan.Build(Regular(10), Timing(TimingMode.Constant, playback: "fast"), new Rational(25, 1));
|
||||
Assert.Contains("Export.Plan.FrameRateIgnored", plan.Warnings);
|
||||
Assert.Equal(10, plan.SlotCount);
|
||||
Assert.Equal(25.0, plan.PlaybackRate);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void EverythingExcludedGivesAnEmptyPlan()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user