X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Foverlayframe.C;h=c8690339a4b62c3a250079106467e5eee64ebd50;hb=c279e21fc2394a7908bbd1ba8c79b116fe9fb14a;hp=849912fd4c93bee7c1bf40cdc342d3bfcfa032d0;hpb=93d60cc0fdf746cc03b4d7a9e45744c2c424439b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/overlayframe.C b/cinelerra-5.1/cinelerra/overlayframe.C index 849912fd..c8690339 100644 --- a/cinelerra-5.1/cinelerra/overlayframe.C +++ b/cinelerra-5.1/cinelerra/overlayframe.C @@ -3,21 +3,21 @@ * CINELERRA * Copyright (C) 2008 Adam Williams * Copyright (C) 2012 Monty - * + * * 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();