x265 patch for threadpool shutdown fix submited as:
[goodguy/history.git] / cinelerra-5.0 / plugins / timeavg / timeavg.C
index f2e8b2338edfa12eb05bab6bbd5a820ed89f4354..445bbf7f347a2189b3b5d5029c8f8375af397a56 100644 (file)
@@ -116,7 +116,7 @@ TimeAvgMain::~TimeAvgMain()
        if(history_valid) delete [] history_valid;
 }
 
-const char* TimeAvgMain::plugin_title() { return N_("Time Average"); }
+const char* TimeAvgMain::plugin_title() { return _("Time Average"); }
 int TimeAvgMain::is_realtime() { return 1; }
 
 
@@ -328,7 +328,8 @@ int TimeAvgMain::process_buffer(VFrame *frame,
                                                read_frame(history[j],
                                                        0,
                                                        history_frame[j],
-                                                       frame_rate);
+                                                       frame_rate,
+                                                       0);
                                                if(config.mode == TimeAvgConfig::AVERAGE ||
                                                        config.mode == TimeAvgConfig::ACCUMULATE)
                                                {
@@ -378,7 +379,8 @@ int TimeAvgMain::process_buffer(VFrame *frame,
                        read_frame(frame,
                                0,
                                i,
-                               frame_rate);
+                               frame_rate,
+                               0);
                        add_accum(frame);
 printf("TimeAvgMain::process_buffer %d prev_frame=" _LD " start_position=" _LD " i=" _LD "\n", 
   __LINE__, prev_frame, start_position, i);