dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / motion-hv / motion-hv.C
index c6f008cd791250ab2aa64731032f1a55f283b432..bb663c7dac05b0ec3b16299a4be8c49abbda698d 100644 (file)
@@ -332,7 +332,7 @@ void MotionHVMain::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("MOTIONHV");
 
        output.tag.set_property("BLOCK_COUNT", config.block_count);
@@ -372,7 +372,7 @@ void MotionHVMain::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;