Add APNG to use470bg list

This commit is contained in:
n00mkrad
2026-04-18 02:09:23 +02:00
parent 75db94d70d
commit 8cd93076fb

View File

@@ -95,7 +95,7 @@ namespace Flowframes.Os
IoUtils.TryDeleteIfExists(frameIndexesJsonPath); IoUtils.TryDeleteIfExists(frameIndexesJsonPath);
} }
bool use470bg = s.InterpSettings.inputIsFrames && !new[] { "GIF", "EXR" }.Contains(Interpolate.currentMediaFile.Format.Upper()); bool use470bg = s.InterpSettings.inputIsFrames && !new[] { "GIF", "EXR", "APNG" }.Contains(Interpolate.currentMediaFile.Format.Upper());
args.Add(("cMatrix", use470bg ? "470bg" : "")); args.Add(("cMatrix", use470bg ? "470bg" : ""));
args.Add(("targetMatch", targetFrameCountMatchDuration)); args.Add(("targetMatch", targetFrameCountMatchDuration));