fix mask vframe setup, add unshared vframe constructor
[goodguy/history.git] / cinelerra-5.1 / plugins / motionblur / motionblur.C
index 37df852f6c501484cd4fb9633b9a87ff482a9ead..a5bc3be5883c6f32208554517e68a075e1f9d0e0 100644 (file)
@@ -371,12 +371,8 @@ int MotionBlurMain::process_realtime(VFrame *input_ptr, VFrame *output_ptr)
 
        if(input_ptr->get_rows()[0] == output_ptr->get_rows()[0])
        {
-               if(!temp) temp = new VFrame(0,
-                       -1,
-                       input_ptr->get_w(),
-                       input_ptr->get_h(),
-                       input_ptr->get_color_model(),
-                       -1);
+               if(!temp) temp = new VFrame(input_ptr->get_w(), input_ptr->get_h(),
+                       input_ptr->get_color_model(), 0);
                temp->copy_from(input_ptr);
                this->input = temp;
        }