dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / removegaps / removegaps.C
index 0a87accaf3c971ad4182557d19fa63f01bb2caef..660af9569eeed60be58c9acc69bc2d153b00f7ce 100644 (file)
@@ -288,7 +288,7 @@ void RemoveGaps::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("REMOVEGAPS");
        output.tag.set_property("DURATION", config.duration);
        output.tag.set_property("THRESHOLD", config.threshold);
@@ -303,7 +303,7 @@ void RemoveGaps::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())
        {