Hi Dan, all,

First, thanks a lot for implementing the much anticipated consumer scaling 
feature! Nice way to do it! While testing it, I noticed a problem with 
transitions.

It seems like the "consumer_scale" property is not always properly propagated 
to the frames. Because of this, transitions sometimes produce a "full size" 
image instead of a correctly scaled result.

Issue is reproducible at least with the "composite", "affine" and "qtblend" 
transitions. It seems like the "consumer_scale" value is correct on the 
a_frame but not on the b_frame.

Changing this line (in the mentionned transition code) :
double resolution_scale = mlt_frame_resolution_scale(b_frame);

to:
double resolution_scale = mlt_frame_resolution_scale(a_frame);

fixes the issue. However I am not sure if this is the correct fix or if the 
"consumer_scale" property should be set on b_frame.

Thanks,

Jean-Baptiste






_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to