refresh frame fix, dblclk proxy viewer fix, vicon refresh fix for awdw resize, fix...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / overlayframe.C
index 849912fd4c93bee7c1bf40cdc342d3bfcfa032d0..c8690339a4b62c3a250079106467e5eee64ebd50 100644 (file)
@@ -3,21 +3,21 @@
  * CINELERRA
  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
  * Copyright (C) 2012 Monty <monty@xiph.org>
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- * 
+ *
  */
 
 #include "clip.h"
@@ -313,8 +313,8 @@ int OverlayFrame::overlay(VFrame *output, VFrame *input,
                }
 
                if(!temp_frame) {
-                       temp_frame = new VFrame(0, -1, temp_w, temp_h,
-                               input->get_color_model(), -1);
+                       temp_frame =
+                               new VFrame(temp_w, temp_h, input->get_color_model(), 0);
                }
 
                temp_frame->clear_frame();