X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fphotoscale%2Fphotoscale.C;fp=cinelerra-5.1%2Fplugins%2Fphotoscale%2Fphotoscale.C;h=59b3ff026612b3014c189613f31672bf18f9a1e1;hp=5c3f3c79a8dbb7eb3f8a1bb3a1d9d40863b95458;hb=b2eb290b3f6e5c233393017aa152e67c76243130;hpb=c0fe374d9f9ab1653e9cc2edb41afb076eeae69f diff --git a/cinelerra-5.1/plugins/photoscale/photoscale.C b/cinelerra-5.1/plugins/photoscale/photoscale.C index 5c3f3c79..59b3ff02 100644 --- a/cinelerra-5.1/plugins/photoscale/photoscale.C +++ b/cinelerra-5.1/plugins/photoscale/photoscale.C @@ -439,7 +439,7 @@ void PhotoScaleMain::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("PHOTOSCALE"); output.tag.set_property("WIDTH", config.width); output.tag.set_property("HEIGHT", config.height); @@ -455,7 +455,7 @@ void PhotoScaleMain::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;