dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / decimate / decimate.C
index 75b0d1e58262dcbe8a2995bd52c54c75b8dc3e30..5f72ea0c066b76e7eb1d00862bab99e19b0b3ebb 100644 (file)
@@ -761,7 +761,7 @@ void Decimate::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("DECIMATE");
        output.tag.set_property("INPUT_RATE", config.input_rate);
 //     output.tag.set_property("AVERAGED_FRAMES", config.averaged_frames);
@@ -777,7 +777,7 @@ void Decimate::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())
        {