X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Ftimefront%2Ftimefront.C;h=2227f7ad2c9c16ae86042021909b1209173b7fc1;hb=d684013dedfefefcb8ca4bbea527382c91521532;hp=82dbd59a9978842aea91b8cba0cfe5f72e971e49;hpb=48c313de28fe6d39d9431dbe2dca6ffb176541ff;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/timefront/timefront.C b/cinelerra-5.1/plugins/timefront/timefront.C index 82dbd59a..2227f7ad 100644 --- a/cinelerra-5.1/plugins/timefront/timefront.C +++ b/cinelerra-5.1/plugins/timefront/timefront.C @@ -647,7 +647,7 @@ TimeFrontMain::~TimeFrontMain() if(overlayer) delete overlayer; } -const char* TimeFrontMain::plugin_title() { return _("TimeFront"); } +const char* TimeFrontMain::plugin_title() { return N_("TimeFront"); } int TimeFrontMain::is_realtime() { return 1; } int TimeFrontMain::is_multichannel() { return 1; } @@ -746,11 +746,12 @@ int TimeFrontMain::is_synthesis() { \ unsigned int choice = invertion gradient_row[j]; \ { \ - out_row[0] = framelist[choice]->get_rows()[i][j * components + 0]; \ - out_row[1] = framelist[choice]->get_rows()[i][j * components + 1]; \ - out_row[2] = framelist[choice]->get_rows()[i][j * components + 2]; \ + type *in_row = (type *)framelist[choice]->get_rows()[i]; \ + out_row[0] = in_row[j * components + 0]; \ + out_row[1] = in_row[j * components + 1]; \ + out_row[2] = in_row[j * components + 2]; \ if (components == 4) \ - out_row[3] = framelist[choice]->get_rows()[i][j * components + 3]; \ + out_row[3] = in_row[j * components + 3]; \ } \ out_row += components; \ } \