dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / denoisevideo / denoisevideo.C
index 12563624a7dc0f3da6ba24eb5db0a6f214691188..fa0bce49a80b61440d0d97fd240dfe9ad143a92d 100644 (file)
@@ -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())
        {