X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fhisteq%2Fhisteq.C;h=cbe092f907fd69fbafe97f5a8f2f572183ab2fde;hb=HEAD;hp=a4f647cdd43e7b8226dbeb41ea1ebb87353dff53;hpb=4c463964715f67d36cc3ecb92f414cb9f7ba720d;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/histeq/histeq.C b/cinelerra-5.1/plugins/histeq/histeq.C index a4f647cd..cbe092f9 100644 --- a/cinelerra-5.1/plugins/histeq/histeq.C +++ b/cinelerra-5.1/plugins/histeq/histeq.C @@ -294,7 +294,7 @@ HistEqMain::~HistEqMain() delete [] wts; } -const char* HistEqMain::plugin_title() { return _("HistEq"); } +const char* HistEqMain::plugin_title() { return N_("HistEq"); } int HistEqMain::is_realtime() { return 1; } @@ -315,7 +315,7 @@ void HistEqMain::update_gui() void HistEqMain::save_data(KeyFrame *keyframe) { FileXML output; - output.set_shared_output(keyframe->get_data(), MESSAGESIZE); + output.set_shared_output(keyframe->xbuf); output.tag.set_title("HISTEQ"); output.tag.set_property("W", w); output.tag.set_property("H", h); @@ -333,7 +333,7 @@ void HistEqMain::save_data(KeyFrame *keyframe) void HistEqMain::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()) ) { if( input.tag.title_is("HISTEQ") ) {