fix mask vframe setup, add unshared vframe constructor
[goodguy/history.git] / cinelerra-5.1 / plugins / motion51 / motion51.C
index 483c6e5fc93419d63542ae0ad6b86eafbd4dbaad..cac4ed3a19f857156a3405482fb75f5f84902e11 100644 (file)
@@ -502,7 +502,7 @@ VFrame* Motion51Main::new_temp(VFrame *&tmp, VFrame *ref)
                delete tmp; tmp = 0;
        }
        if( !tmp )
-               tmp = new VFrame(0, -1, ref->get_w(), ref->get_h(), ref->get_color_model(), -1);
+               tmp = new VFrame(ref->get_w(), ref->get_h(), ref->get_color_model(), 0);
        return tmp;
 }