fix mask vframe setup, add unshared vframe constructor
[goodguy/history.git] / cinelerra-5.1 / plugins / wave / wave.C
index 9193e52ae3f768ade5098b23d4df0e7a8fac72ad..82b750ce46c95e0d0d5d99d3b64a8ed840ac5121 100644 (file)
@@ -526,12 +526,8 @@ int WaveEffect::process_realtime(VFrame *input, VFrame *output)
        {
                if(input->get_rows()[0] == output->get_rows()[0])
                {
-                       if(!temp_frame) temp_frame = new VFrame(0,
-                               -1,
-                               input->get_w(),
-                               input->get_h(),
-                               input->get_color_model(),
-                               -1);
+                       if(!temp_frame) temp_frame = new VFrame(input->get_w(), input->get_h(),
+                               input->get_color_model(), 0);
                        temp_frame->copy_from(input);
                        this->input = temp_frame;
                }