if(temp) delete temp;
}
-const char* LinearBlurMain::plugin_title() { return _("Linear Blur"); }
+const char* LinearBlurMain::plugin_title() { return N_("Linear Blur"); }
int LinearBlurMain::is_realtime() { return 1; }
this->output = frame;
- if(!temp) temp = new VFrame(0,
- -1,
- frame->get_w(),
- frame->get_h(),
- frame->get_color_model(),
- -1);
+ if(!temp)
+ temp = new VFrame(frame->get_w(), frame->get_h(),
+ frame->get_color_model(), 0);
temp->copy_from(frame);
this->input = temp;
FileXML output;
// cause data to be stored directly in text
- output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
+ output.set_shared_output(keyframe->xbuf);
output.tag.set_title("LINEARBLUR");
output.tag.set_property("RADIUS", config.radius);
{
FileXML input;
- input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data()));
+ input.set_shared_input(keyframe->xbuf);
int result = 0;