bsd compatibility mods
[goodguy/history.git] / cinelerra-5.1 / plugins / oilpainting / oil.C
index 3822ef1b61177dc4d459268729ebe2e125331f91..e10141854229cf4cd75dc8e2ef338b8faa3bd37d 100644 (file)
@@ -306,7 +306,7 @@ OilEffect::~OilEffect()
 }
 
 
-const char* OilEffect::plugin_title() { return _("Oil painting"); }
+const char* OilEffect::plugin_title() { return N_("Oil painting"); }
 int OilEffect::is_realtime() { return 1; }
 
 
@@ -383,12 +383,9 @@ int OilEffect::process_realtime(VFrame *input, VFrame *output)
        {
                if(input->get_rows()[0] == output->get_rows()[0])
                {
-                       if(!temp_frame) temp_frame = new VFrame(0,
-                               -1,
-                               input->get_w(),
-                               input->get_h(),
-                               input->get_color_model(),
-                               -1);
+                       if(!temp_frame)
+                               temp_frame = new VFrame(input->get_w(), input->get_h(),
+                                       input->get_color_model(), 0);
                        temp_frame->copy_from(input);
                        this->input = temp_frame;
                }