load files search box, avoid segv in get_prev_keyframe, fix titles only handles,...
[goodguy/history.git] / cinelerra-5.1 / plugins / denoiseseltempavg / seltempavg.C
index 23fdf915ce991c7f1e3f4314fdde5d7fb44cad11..743e7423870e99fd49a4f0b42bdea58f3421f459 100644 (file)
@@ -117,7 +117,7 @@ SelTempAvgMain::~SelTempAvgMain()
        if(history_valid) delete [] history_valid;
 }
 
-const char* SelTempAvgMain::plugin_title() { return _("Selective Temporal Averaging"); }
+const char* SelTempAvgMain::plugin_title() { return N_("Selective Temporal Averaging"); }
 int SelTempAvgMain::is_realtime() { return 1; }
 
 
@@ -184,7 +184,7 @@ int SelTempAvgMain::process_buffer(VFrame *frame,
 // Create new frames
                                for( ; i < config.frames; i++)
                                {
-                                       history2[i] = new VFrame(w, h, color_model);
+                                       history2[i] = new VFrame(w, h, color_model, 0);
                                        history_frame2[i] = -0x7fffffff;
                                        history_valid2[i] = 0;
                                }
@@ -201,7 +201,7 @@ int SelTempAvgMain::process_buffer(VFrame *frame,
                {
                        history = new VFrame*[config.frames];
                        for(int i = 0; i < config.frames; i++)
-                               history[i] = new VFrame(w, h, color_model);
+                               history[i] = new VFrame(w, h, color_model, 0);
                        history_size = config.frames;
                        history_frame = new int64_t[config.frames];
                        bzero(history_frame, sizeof(int64_t) * config.frames);