X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fmotion51%2Fmotion51.C;h=b61e22442b91109f35c2fa69255a888a2b175374;hb=0d3917a4eda0344055badf0bd6e235c15c3b6cb8;hp=f29ea0bbff57099026887cc722cc84dbb3278c9f;hpb=1f004d22ca7bd7a98a3bf02b12ec5b1adece92f2;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/motion51/motion51.C b/cinelerra-5.1/plugins/motion51/motion51.C index f29ea0bb..b61e2244 100644 --- a/cinelerra-5.1/plugins/motion51/motion51.C +++ b/cinelerra-5.1/plugins/motion51/motion51.C @@ -147,7 +147,7 @@ void Motion51Main::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("MOTION51"); output.tag.set_property("HORIZ_LIMIT", config.horiz_limit); output.tag.set_property("VERT_LIMIT", config.vert_limit); @@ -172,7 +172,7 @@ void Motion51Main::save_data(KeyFrame *keyframe) void Motion51Main::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()) ) {