fix mask vframe setup, add unshared vframe constructor
[goodguy/history.git] / cinelerra-5.1 / plugins / translate / translate.C
index 7d00ee28d8c9351373ae8d541d5b8d32d2cf305d..ce112b04349ddffb9e92d984ab7938c7f4f5f017 100644 (file)
@@ -193,12 +193,8 @@ int TranslateMain::process_realtime(VFrame *input_ptr, VFrame *output_ptr)
                        temp_frame = 0;
                }
                if(!temp_frame)
-                       temp_frame = new VFrame(0,
-                               -1,
-                               input_ptr->get_w(),
-                               input_ptr->get_h(),
-                               input->get_color_model(),
-                               -1);
+                       temp_frame = new VFrame(input_ptr->get_w(), input_ptr->get_h(),
+                               input->get_color_model(), 0);
                temp_frame->copy_from(input);
                input = temp_frame;
        }