X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fplugins%2Fzoomblur%2Fzoomblur.C;h=8336708732aa833ee1fd45756879e19236a2580c;hb=8b0e73a6d3623764c261f64f5f3e96349d1f9032;hp=d26928e5d1ed924528149aaa2846aa30ec5a8195;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/zoomblur/zoomblur.C b/cinelerra-5.1/plugins/zoomblur/zoomblur.C index d26928e5..83367087 100644 --- a/cinelerra-5.1/plugins/zoomblur/zoomblur.C +++ b/cinelerra-5.1/plugins/zoomblur/zoomblur.C @@ -399,7 +399,7 @@ ZoomBlurMain::~ZoomBlurMain() if(temp) delete temp; } -const char* ZoomBlurMain::plugin_title() { return _("Zoom Blur"); } +const char* ZoomBlurMain::plugin_title() { return N_("Zoom Blur"); } int ZoomBlurMain::is_realtime() { return 1; } @@ -566,12 +566,8 @@ SET_TRACE 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; @@ -612,7 +608,7 @@ void ZoomBlurMain::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("ZOOMBLUR"); output.tag.set_property("X", config.x); @@ -634,7 +630,7 @@ void ZoomBlurMain::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;