X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Finterpolateall%2Finterpolateall.C;h=79124bbc690b384ab5adcf5fd98fc2286dcfecd6;hb=9a16c85641dee9f15136f40c8a3195d88d45513f;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..79124bbc 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" @@ -44,7 +44,7 @@ public: InterpolateAllEffect(PluginServer *server); ~InterpolateAllEffect(); - char* plugin_title(); + const char* plugin_title(); int is_realtime(); int is_multichannel(); int get_parameters(); @@ -94,7 +94,7 @@ InterpolateAllEffect::~InterpolateAllEffect() -char* InterpolateAllEffect::plugin_title() { return _("Interpolate"); } +char* InterpolateAllEffect::plugin_title() { return N_("Interpolate"); } int InterpolateAllEffect::is_realtime() { return 0; } int InterpolateAllEffect::is_multichannel() { return 0; } @@ -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");