dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / moveobj / moveobj.C
index 77a80a3bbd59f8cbeb6ae77de38f115e75a0f6b9..a3c9a89684552c6d38447f13c8c5bc23dd33fe89 100644 (file)
@@ -101,7 +101,7 @@ void MoveObj::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("MOVEOBJ");
        output.tag.set_property("DRAW_VECTORS", config.draw_vectors);
        output.tag.set_property("DO_STABILIZATION", config.do_stabilization);
@@ -119,7 +119,7 @@ void MoveObj::save_data(KeyFrame *keyframe)
 void MoveObj::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;
        while( !(result = input.read_tag()) ) {