fix mask vframe setup, add unshared vframe constructor
[goodguy/history.git] / cinelerra-5.1 / plugins / delayvideo / delayvideo.C
index a3f7db6b8c0c7526e017b7e80bd62a48066da1ea..55ea5d4e0915a7aadbab2a1129bbd7290d6ca062 100644 (file)
@@ -195,12 +195,8 @@ void DelayVideo::reconfigure()
 
        for(int i = reuse; i < new_allocation; i++)
        {
-               new_buffer[i] = new VFrame(0,
-                       -1,
-                       input->get_w(),
-                       input->get_h(),
-                       PluginVClient::project_color_model,
-                       -1);
+               new_buffer[i] = new VFrame(input->get_w(), input->get_h(),
+                       PluginVClient::project_color_model, 0);
        }
 
        for(int i = reuse; i < allocation; i++)