http://bugs.cinelerra.org/show_bug.cgi?id=263
------- Additional Comments From [EMAIL PROTECTED] 2006-05-23 21:22 ------- Replacing cinelerra/overlayframe.C with the version from the 2.0 release fixes the scaling problem. The differences are fairly small: 480,483d479 < int out_x1_int = (int)out_x1; < int out_y1_int = (int)out_y1; < int out_x2_int = MIN((int)ceil(out_x2), output->get_w()); < int out_y2_int = MIN((int)ceil(out_y2), output->get_h()); 486,487c482,483 < int temp_w = (out_x2_int - out_x1_int); < int temp_h = (out_y2_int - out_y1_int); --- > int temp_w = (int)ceil(w_scale * (in_x2_int - in_x1_int)); > int temp_h = (int)ceil(h_scale * (in_y2_int - in_y1_int)); 556,559c552,555 < in_x1 = 0; < in_y1 = 0; < in_x2 = temp_w; < in_y2 = temp_h; --- > in_x1 = (in_x1 - in_x1_int) * w_scale; > in_y1 = (in_y1 - in_y1_int) * h_scale; > in_x2 = (in_x2 - in_x1_int) * w_scale; > in_y2 = (in_y2 - in_y1_int) * h_scale; If it doesn't break anything else, I'd say the 2.0 version of the file is the way to go. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. _______________________________________________ Cinelerra mailing list [email protected] https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
