diff options
author | Peter Schlaile <peter@schlaile.de> | 2010-07-24 23:42:29 +0400 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2010-07-24 23:42:29 +0400 |
commit | 6a4d370a16193b5590ff39f05e0823d0744a4c80 (patch) | |
tree | d1a54be907d3862ebe08eba2e91ecdcd5c40ad80 | |
parent | 0eca3db6c5e14109c6287784d32129e45c03d2b3 (diff) |
Bugfix: the sequencer core rewrite missed preprocessing of images with
wrong resolution on input, which can create image distortion and crashes
on render.
Thanks to Juan Pablo Bouza for spotting this one!
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index 5f41debbbe9..bbc50490ab7 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -2102,6 +2102,10 @@ static ImBuf * seq_render_strip(Scene *scene, Sequence * seq, float cfra, (short)seqrectx, (short)seqrecty, 32, IB_rect, 0); } + if (ibuf->x != seqrectx || ibuf->y != seqrecty) { + use_preprocess = TRUE; + } + if (use_preprocess) { ibuf = input_preprocess(scene, seq, cfra, seqrectx, seqrecty, ibuf); |