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!
This commit is contained in:
Peter Schlaile 2010-07-24 19:42:29 +00:00
parent 0eca3db6c5
commit 6a4d370a16

@ -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);