fix mask vframe setup, add unshared vframe constructor
[goodguy/history.git] / cinelerra-5.1 / plugins / 1080to540 / 1080to540.C
index 21306b55d40bc7bf014d61d61a7e4068883642aa..8e44c87cc44ce5d6bc648731b03994e85b6ad98b 100644 (file)
@@ -241,12 +241,8 @@ int _1080to540Main::process_realtime(VFrame *input, VFrame *output)
        load_configuration();
        if(!temp)
        {
-               temp = new VFrame(0,
-                       -1,
-                       input->get_w(),
-                       input->get_h(),
-                       input->get_color_model(),
-                       -1);
+               temp = new VFrame(input->get_w(), input->get_h(),
+                       input->get_color_model(), 0);
                temp->clear_frame();
        }