mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-02 00:30:55 +00:00
export: the yuv420 fast path checks the effective scale too
This commit is contained in:
1 parent
7216e0eb6a
commit
3217320c1c
1 file changed
+1
-1
@@ -389,7 +389,7 @@ impl<'a> Cx<'a> {
|
||||
return None;
|
||||
}
|
||||
let om = self.job.output;
|
||||
let scale = self.job.settings.resolution.clamp(0.01, 4.0);
|
||||
let scale = self.job.settings.effective_scale(comp);
|
||||
let size = |n: u32| ((n as f64 * scale).round() as u32).max(1);
|
||||
if om.resize.enabled || (size(comp.width), size(comp.height)) != (w, h) || om.crop.edges(w, h, scale) != (0, 0, 0, 0) {
|
||||
return None;
|
||||
|
||||
Reference in new issue
Block a user