fix mask vframe setup, add unshared vframe constructor
[goodguy/history.git] / cinelerra-5.1 / plugins / livevideo / livevideo.C
index 6b5120283bee676d25db096a7f6c8ed137eac2b6..23edbc732d9d61daa4df0f82b32945b1e4018190 100644 (file)
@@ -454,12 +454,8 @@ int LiveVideo::process_buffer(VFrame *frame,
                {
                        if(!temp)
                        {
-                               temp = new VFrame(0,
-                                       -1,
-                                       session->vconfig_in->w,
-                                       session->vconfig_in->h,
-                                       input_cmodel,
-                                       -1);
+                               temp = new VFrame(session->vconfig_in->w, session->vconfig_in->h,
+                                               input_cmodel, 0);
                        }
                        input = temp;
                }