X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fmotion2point%2Fmotion.C;h=5897ae0e0d768c29c2856a239da86b7511dad62b;hp=ad745c4f2b0fbb009bf80baa2fd698e513b9b497;hb=48c313de28fe6d39d9431dbe2dca6ffb176541ff;hpb=3f6a262cfe390b3f8b275297d64565a5b6272969 diff --git a/cinelerra-5.1/plugins/motion2point/motion.C b/cinelerra-5.1/plugins/motion2point/motion.C index ad745c4f..5897ae0e 100644 --- a/cinelerra-5.1/plugins/motion2point/motion.C +++ b/cinelerra-5.1/plugins/motion2point/motion.C @@ -438,7 +438,7 @@ void MotionMain2::allocate_temp(int w, int h, int color_model) temp_frame = 0; } if(!temp_frame) - temp_frame = new VFrame(w, h, color_model); + temp_frame = new VFrame(w, h, color_model, 0); } @@ -833,16 +833,16 @@ printf("MotionMain2::process_buffer 1 start_position=%jd\n", start_position); // The center of the search area is fixed in compensate mode or // the user value + the accumulation vector in track mode. if(!prev_global_ref) - prev_global_ref = new VFrame(w, h, color_model); + prev_global_ref = new VFrame(w, h, color_model, 0); if(!current_global_ref) - current_global_ref = new VFrame(w, h, color_model); + current_global_ref = new VFrame(w, h, color_model, 0); // Global loads the current target frame into the src and // writes it to the dst frame with desired translation. if(!global_target_src) - global_target_src = new VFrame(w, h, color_model); + global_target_src = new VFrame(w, h, color_model, 0); if(!global_target_dst) - global_target_dst = new VFrame(w, h, color_model); + global_target_dst = new VFrame(w, h, color_model, 0); // Load the global frames