edl plugin names eng, fix segv for opengl brender, renderfarm rework strategy, perf...
[goodguy/history.git] / cinelerra-5.1 / plugins / ivtc / ivtc.C
index 57a47cca42ef345d87fe321cb8f2118c0184d2e5..fc74ad0ef95f16d7906d6e19cacf4083e5406270 100644 (file)
@@ -73,7 +73,7 @@ IVTCMain::~IVTCMain()
        }
 }
 
-const char* IVTCMain::plugin_title() { return _("Inverse Telecine"); }
+const char* IVTCMain::plugin_title() { return N_("Inverse Telecine"); }
 int IVTCMain::is_realtime() { return 1; }
 
 
@@ -165,18 +165,12 @@ int IVTCMain::process_realtime(VFrame *input_ptr, VFrame *output_ptr)
        int pattern_position = (PluginClient::source_position + config.frame_offset) % 5;
 
 //printf("IVTCMain::process_realtime %d %d\n", pattern_position, config.first_field);
-       if(!temp_frame[0]) temp_frame[0] = new VFrame(0,
-               -1,
-               input_ptr->get_w(),
-               input_ptr->get_h(),
-               input_ptr->get_color_model(),
-               -1);
-       if(!temp_frame[1]) temp_frame[1] = new VFrame(0,
-               -1,
-               input_ptr->get_w(),
-               input_ptr->get_h(),
-               input_ptr->get_color_model(),
-               -1);
+       if(!temp_frame[0])
+               temp_frame[0] = new VFrame(input_ptr->get_w(), input_ptr->get_h(),
+                       input_ptr->get_color_model(), 0);
+       if(!temp_frame[1])
+               temp_frame[1] = new VFrame(input_ptr->get_w(), input_ptr->get_h(),
+                       input_ptr->get_color_model(), 0);
 
        int row_size = VFrame::calculate_bytes_per_pixel(input_ptr->get_color_model()) * input_ptr->get_w();
        this->input = input_ptr;