olaf neophyte and de.po updates, valgrind tweaks, delete green lady, inkscape dpi=96
[goodguy/history.git] / cinelerra-5.1 / plugins / radialblur / radialblur.C
index 7f141409e1126ed80537ef4c95f027aed6f9d49f..1847a200920da1f9c26c2e79abfff69b0f7974bb 100644 (file)
@@ -380,7 +380,7 @@ RadialBlurMain::~RadialBlurMain()
        delete rotate;
 }
 
-const char* RadialBlurMain::plugin_title() { return _("Radial Blur"); }
+const char* RadialBlurMain::plugin_title() { return N_("Radial Blur"); }
 int RadialBlurMain::is_realtime() { return 1; }
 
 
@@ -413,12 +413,9 @@ int RadialBlurMain::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;
 
@@ -453,7 +450,7 @@ void RadialBlurMain::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("RADIALBLUR");
 
        output.tag.set_property("X", config.x);
@@ -475,7 +472,7 @@ void RadialBlurMain::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;