X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Flinearblur%2Flinearblur.C;h=af6cb826510f8a8bdab291c01b25dc5b8a3e85ff;hb=702161ddaf384a773831f1643fca0a54133625b2;hp=8f6cab2feb3a43f45b0a34ddb085f90098930c9b;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/linearblur/linearblur.C b/cinelerra-5.1/plugins/linearblur/linearblur.C index 8f6cab2f..af6cb826 100644 --- a/cinelerra-5.1/plugins/linearblur/linearblur.C +++ b/cinelerra-5.1/plugins/linearblur/linearblur.C @@ -388,7 +388,7 @@ LinearBlurMain::~LinearBlurMain() 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; } @@ -518,12 +518,9 @@ int LinearBlurMain::process_buffer(VFrame *frame, 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; @@ -562,7 +559,7 @@ void LinearBlurMain::save_data(KeyFrame *keyframe) 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); @@ -583,7 +580,7 @@ void LinearBlurMain::read_data(KeyFrame *keyframe) { FileXML input; - input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data())); + input.set_shared_input(keyframe->xbuf); int result = 0;