dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / despike / despike.C
index ca8b96ac0fa2ad29f56603fff0e021009b44394c..83adbb237e785aeec26a00307f601d26edc6fa4b 100644 (file)
@@ -51,7 +51,7 @@ Despike::~Despike()
 
 }
 
-const char* Despike::plugin_title() { return _("Despike"); }
+const char* Despike::plugin_title() { return N_("Despike"); }
 int Despike::is_realtime() { return 1; }
 
 NEW_WINDOW_MACRO(Despike, DespikeWindow)
@@ -94,7 +94,7 @@ void Despike::save_data(KeyFrame *keyframe)
        FileXML output;
 
 // cause xml file to store data directly in text
-       output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
+       output.set_shared_output(keyframe->xbuf);
 
        output.tag.set_title("DESPIKE");
        output.tag.set_property("LEVEL", config.level);
@@ -110,7 +110,7 @@ void Despike::read_data(KeyFrame *keyframe)
 {
        FileXML input;
 // cause xml file to read directly from text
-       input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data()));
+       input.set_shared_input(keyframe->xbuf);
        int result = 0;
 
        result = input.read_tag();