X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fgreycstoration%2Fgreycstorationplugin.C;h=1cd317d62079984976964dc452d0034d6c16ec39;hb=b2eb290b3f6e5c233393017aa152e67c76243130;hp=6b65ac72ee0d561726e69f44c3ba0df10a786bd1;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/greycstoration/greycstorationplugin.C b/cinelerra-5.1/plugins/greycstoration/greycstorationplugin.C index 6b65ac72..1cd317d6 100644 --- a/cinelerra-5.1/plugins/greycstoration/greycstorationplugin.C +++ b/cinelerra-5.1/plugins/greycstoration/greycstorationplugin.C @@ -93,7 +93,7 @@ GreyCStorationMain::~GreyCStorationMain() delete [] alpha; } -const char* GreyCStorationMain::plugin_title() { return _("GreyCStoration"); } +const char* GreyCStorationMain::plugin_title() { return N_("GreyCStoration"); } int GreyCStorationMain::is_realtime() { return 1; } @@ -191,7 +191,7 @@ void GreyCStorationMain::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("GREYCSTORATION"); output.tag.set_property("AMPLITUDE", config.amplitude); @@ -209,7 +209,7 @@ void GreyCStorationMain::save_data(KeyFrame *keyframe) void GreyCStorationMain::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() ) { if(input.tag.title_is("GREYCSTORATION")) {