dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / brightness / brightness.C
index 9eaf9a3004579dbafa52b822d90dc480ebe6b491..19bcae30242659944d37b005a72a39d50f4bf882 100644 (file)
@@ -93,7 +93,7 @@ BrightnessMain::~BrightnessMain()
        if(engine) delete engine;
 }
 
-const char* BrightnessMain::plugin_title() { return _("Brightness/Contrast"); }
+const char* BrightnessMain::plugin_title() { return N_("Brightness/Contrast"); }
 int BrightnessMain::is_realtime() { return 1; }
 
 NEW_WINDOW_MACRO(BrightnessMain, BrightnessWindow)
@@ -256,7 +256,7 @@ void BrightnessMain::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("BRIGHTNESS");
        output.tag.set_property("BRIGHTNESS", config.brightness);
        output.tag.set_property("CONTRAST",  config.contrast);
@@ -272,7 +272,7 @@ void BrightnessMain::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;