dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / greycstoration / greycstorationplugin.C
index c2029ca34f5e390cbcc722c4ebb30d6099131c1d..1cd317d62079984976964dc452d0034d6c16ec39 100644 (file)
@@ -191,7 +191,7 @@ void GreyCStorationMain::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("GREYCSTORATION");
 
        output.tag.set_property("AMPLITUDE", config.amplitude);
@@ -209,7 +209,7 @@ void GreyCStorationMain::save_data(KeyFrame *keyframe)
 void GreyCStorationMain::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() ) {
                if(input.tag.title_is("GREYCSTORATION")) {