X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Finterpolateall%2Finterpolateall.C;h=d52e8bdb106dc6dac2792010273b1a467724f269;hb=1e154071bd323f756625f8172ef67133a561450a;hp=331597dd676c732feb8823d57230c959dff1b179;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/interpolateall/interpolateall.C b/cinelerra-5.1/plugins/interpolateall/interpolateall.C index 331597dd..d52e8bdb 100644 --- a/cinelerra-5.1/plugins/interpolateall/interpolateall.C +++ b/cinelerra-5.1/plugins/interpolateall/interpolateall.C @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * 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 "bcdisplayinfo.h" @@ -160,9 +160,9 @@ int InterpolateAllEffect::process_loop(double *buffer, long &write_length) } current_position += fragment_len; write_length = fragment_len; - result = progress->update(PluginClient::end - - PluginClient::start + - current_position - + result = progress->update(PluginClient::end - + PluginClient::start + + current_position - PluginClient::start); if(current_position >= PluginClient::end) result = 1; //printf("InterpolateAllEffect::process_loop 5\n");