X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fdecimate%2Fdecimate.C;h=75b0d1e58262dcbe8a2995bd52c54c75b8dc3e30;hb=723142d62d61cde588e961426440f839ca9dcda9;hp=e7d0d6d3c5f4395e26f4a5b53d29665c99e7884c;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/decimate/decimate.C b/cinelerra-5.1/plugins/decimate/decimate.C index e7d0d6d3..75b0d1e5 100644 --- a/cinelerra-5.1/plugins/decimate/decimate.C +++ b/cinelerra-5.1/plugins/decimate/decimate.C @@ -708,14 +708,9 @@ int Decimate::process_buffer(VFrame *frame, if(!frames[0]) { - for(int i = 0; i < TOTAL_FRAMES; i++) - { - frames[i] = new VFrame(0, - -1, - frame->get_w(), - frame->get_h(), - frame->get_color_model(), - -1); + for(int i = 0; i < TOTAL_FRAMES; i++) { + frames[i] = new VFrame(frame->get_w(), frame->get_h(), + frame->get_color_model(), 0); } } @@ -744,7 +739,7 @@ int Decimate::process_buffer(VFrame *frame, -const char* Decimate::plugin_title() { return _("Decimate"); } +const char* Decimate::plugin_title() { return N_("Decimate"); } int Decimate::is_realtime() { return 1; } NEW_WINDOW_MACRO(Decimate, DecimateWindow)