bsd compatibility mods
[goodguy/history.git] / cinelerra-5.1 / plugins / whirl / whirl.C
index 6c920dfcf8b7ccd0c812eeddac31adce12124e63..25be3bc9b0f30f011c423d1d9597d10ddff264dc 100644 (file)
@@ -363,7 +363,7 @@ WhirlEffect::~WhirlEffect()
 
 
 
-const char* WhirlEffect::plugin_title() { return _("Whirl"); }
+const char* WhirlEffect::plugin_title() { return N_("Whirl"); }
 int WhirlEffect::is_realtime() { return 1; }
 
 
@@ -448,12 +448,8 @@ int WhirlEffect::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;
                }