X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fmotion-hv%2Fmotionscan-hv.C;h=0bded66c391bf53bfb3b5109862b855894006743;hp=6c4d6e07145176648560cfb5bb1112a92dd9b32f;hb=48c313de28fe6d39d9431dbe2dca6ffb176541ff;hpb=9d832a1fff11b11aaa1108c460690ed05e2bdc05 diff --git a/cinelerra-5.1/plugins/motion-hv/motionscan-hv.C b/cinelerra-5.1/plugins/motion-hv/motionscan-hv.C index 6c4d6e07..0bded66c 100644 --- a/cinelerra-5.1/plugins/motion-hv/motionscan-hv.C +++ b/cinelerra-5.1/plugins/motion-hv/motionscan-hv.C @@ -602,17 +602,9 @@ printf("MotionHVScan::pixel_search %d range fail range2=%f\n", __LINE__, range2) // rotated_current[i]); if(!rotated_current[i]) { - rotated_current[i] = new VFrame(); - rotated_current[i]->set_use_shm(0); - rotated_current[i]->reallocate(0, - -1, - 0, - 0, - 0, - downsampled_current_w + 1, - downsampled_current_h + 1, - current_frame_arg->get_color_model(), - -1); + rotated_current[i] = + new VFrame(downsampled_current_w+1, downsampled_current_h+1, + current_frame_arg->get_color_model(), 0); //printf("MotionHVScan::pixel_search %d\n", __LINE__); }