fix mask vframe setup, add unshared vframe constructor
[goodguy/history.git] / cinelerra-5.1 / plugins / scaleratio / scaleratio.C
index 5c5944a74296f02a792dfec7a8fca438caf04bb2..52073c10c7ebdf19e987d1ee42d6818596f359b5 100644 (file)
@@ -181,9 +181,8 @@ int ScaleRatioMain::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;
        }