X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fperspective%2Fperspective.C;h=fc39159715b902ccd35208c95eb28af47b4d3744;hp=a9e2adf3bb676fe4aca0d7fbb0a8e77fef4da23f;hb=b2eb290b3f6e5c233393017aa152e67c76243130;hpb=48c313de28fe6d39d9431dbe2dca6ffb176541ff diff --git a/cinelerra-5.1/plugins/perspective/perspective.C b/cinelerra-5.1/plugins/perspective/perspective.C index a9e2adf3..fc391597 100644 --- a/cinelerra-5.1/plugins/perspective/perspective.C +++ b/cinelerra-5.1/plugins/perspective/perspective.C @@ -656,7 +656,7 @@ PerspectiveMain::~PerspectiveMain() if(temp) delete temp; } -const char* PerspectiveMain::plugin_title() { return _("Perspective"); } +const char* PerspectiveMain::plugin_title() { return N_("Perspective"); } int PerspectiveMain::is_realtime() { return 1; } @@ -689,7 +689,7 @@ void PerspectiveMain::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("PERSPECTIVE"); output.tag.set_property("X1", config.x1); @@ -719,7 +719,7 @@ void PerspectiveMain::save_data(KeyFrame *keyframe) void PerspectiveMain::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()) ) {