remove non-gpl components
[goodguy/history.git] / cinelerra-5.1 / plugins / zoomblur / zoomblur.C
index d26928e5d1ed924528149aaa2846aa30ec5a8195..8336708732aa833ee1fd45756879e19236a2580c 100644 (file)
@@ -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;