edl plugin names eng, fix segv for opengl brender, renderfarm rework strategy, perf...
[goodguy/history.git] / cinelerra-5.1 / plugins / scaleratio / scaleratio.C
index 5c5944a74296f02a792dfec7a8fca438caf04bb2..4c200f8a6870d2151f21d7698ca235c60ad7b2f2 100644 (file)
@@ -93,7 +93,7 @@ ScaleRatioMain::~ScaleRatioMain()
        overlayer = 0;
 }
 
-const char* ScaleRatioMain::plugin_title() { return _("Scale Ratio"); }
+const char* ScaleRatioMain::plugin_title() { return N_("Scale Ratio"); }
 int ScaleRatioMain::is_realtime() { return 1; }
 
 
@@ -181,9 +181,8 @@ int ScaleRatioMain::process_realtime(VFrame *input_ptr, VFrame *output_ptr)
                        temp_frame = 0;
                }
                if(!temp_frame)
-                       temp_frame = new VFrame(0, -1,
-                               input_ptr->get_w(), input_ptr->get_h(),
-                               input->get_color_model(), -1);
+                       temp_frame = new VFrame(input_ptr->get_w(), input_ptr->get_h(),
+                               input->get_color_model(), 0);
                temp_frame->copy_from(input);
                input = temp_frame;
        }