dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / despike / despike.C
index ad636f12e5c7c65e097f8d90f3264f369f004d72..83adbb237e785aeec26a00307f601d26edc6fa4b 100644 (file)
@@ -94,7 +94,7 @@ void Despike::save_data(KeyFrame *keyframe)
        FileXML output;
 
 // cause xml file to store data directly in text
-       output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
+       output.set_shared_output(keyframe->xbuf);
 
        output.tag.set_title("DESPIKE");
        output.tag.set_property("LEVEL", config.level);
@@ -110,7 +110,7 @@ void Despike::read_data(KeyFrame *keyframe)
 {
        FileXML input;
 // cause xml file to read directly from text
-       input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data()));
+       input.set_shared_input(keyframe->xbuf);
        int result = 0;
 
        result = input.read_tag();