add proxy quick switch, folder lock, shortcuts update, bsd GL tweak
[goodguy/history.git] / cinelerra-5.1 / plugins / timefront / timefront.C
index 82dbd59a9978842aea91b8cba0cfe5f72e971e49..2227f7ad2c9c16ae86042021909b1209173b7fc1 100644 (file)
@@ -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; \
                } \