X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fplugins%2Fswapchannels%2Fswapchannels.C;h=cf169d26c99049b48f1dce1fa3b3a67fb6a53ae2;hb=a19a685a46ddc630010788707d9e5b9d2342af46;hp=3ea0f90067eee9481f2d385607c46d648f2b7d67;hpb=af44bff549c39ac8bb6e42a791e7a211e1013526;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/swapchannels/swapchannels.C b/cinelerra-5.1/plugins/swapchannels/swapchannels.C index 3ea0f900..cf169d26 100644 --- a/cinelerra-5.1/plugins/swapchannels/swapchannels.C +++ b/cinelerra-5.1/plugins/swapchannels/swapchannels.C @@ -208,7 +208,7 @@ void SwapMain::reset() } -const char* SwapMain::plugin_title() { return _("Swap channels"); } +const char* SwapMain::plugin_title() { return N_("Swap channels"); } int SwapMain::is_synthesis() { return 1; } int SwapMain::is_realtime() { return 1; } @@ -220,7 +220,7 @@ void SwapMain::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("SWAPCHANNELS"); output.tag.set_property("RED", config.red); output.tag.set_property("GREEN", config.green); @@ -238,7 +238,7 @@ void SwapMain::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;