X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fremovegaps%2Fremovegaps.C;fp=cinelerra-5.1%2Fplugins%2Fremovegaps%2Fremovegaps.C;h=660af9569eeed60be58c9acc69bc2d153b00f7ce;hb=b2eb290b3f6e5c233393017aa152e67c76243130;hp=0a87accaf3c971ad4182557d19fa63f01bb2caef;hpb=c0fe374d9f9ab1653e9cc2edb41afb076eeae69f;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/removegaps/removegaps.C b/cinelerra-5.1/plugins/removegaps/removegaps.C index 0a87acca..660af956 100644 --- a/cinelerra-5.1/plugins/removegaps/removegaps.C +++ b/cinelerra-5.1/plugins/removegaps/removegaps.C @@ -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()) {