fix mask vframe setup, add unshared vframe constructor
[goodguy/history.git] / cinelerra-5.1 / plugins / linearblur / linearblur.C
index 8f6cab2feb3a43f45b0a34ddb085f90098930c9b..2557f9d196582f80e087266b5452e8ca67434913 100644 (file)
@@ -518,12 +518,9 @@ int LinearBlurMain::process_buffer(VFrame *frame,
        this->output = frame;
 
 
-       if(!temp) temp = new VFrame(0,
-               -1,
-               frame->get_w(),
-               frame->get_h(),
-               frame->get_color_model(),
-               -1);
+       if(!temp)
+               temp = new VFrame(frame->get_w(), frame->get_h(),
+                       frame->get_color_model(), 0);
        temp->copy_from(frame);
        this->input = temp;