olaf neophyte and de.po updates, valgrind tweaks, delete green lady, inkscape dpi=96
[goodguy/history.git] / cinelerra-5.1 / plugins / denoisevideo / denoisevideo.C
index ad6a340d5ae6b3af0f1efa8bd67be573a4927bf8..fa0bce49a80b61440d0d97fd240dfe9ad143a92d 100644 (file)
@@ -411,7 +411,7 @@ int DenoiseVideo::process_realtime(VFrame *input, VFrame *output)
 }
 
 
-const char* DenoiseVideo::plugin_title() { return _("Denoise video"); }
+const char* DenoiseVideo::plugin_title() { return N_("Denoise video"); }
 int DenoiseVideo::is_realtime() { return 1; }
 
 
@@ -441,7 +441,7 @@ void DenoiseVideo::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("DENOISE_VIDEO");
        output.tag.set_property("FRAMES", config.frames);
        output.tag.set_property("THRESHOLD", config.threshold);
@@ -461,7 +461,7 @@ void DenoiseVideo::read_data(KeyFrame *keyframe)
 {
        FileXML input;
 
-       input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data()));
+       input.set_shared_input(keyframe->xbuf);
 
        while(!input.read_tag())
        {