dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / resamplert / resamplert.C
index 409db6dfd319d899acc994fcde19089688de1838..af6c4ab6a773a7b1c42e8f639a10a4ee3fb2fb4e 100644 (file)
@@ -220,7 +220,7 @@ ResampleRT::~ResampleRT()
        delete resample;
 }
 
-const char* ResampleRT::plugin_title() { return _("ResampleRT"); }
+const char* ResampleRT::plugin_title() { return N_("ResampleRT"); }
 int ResampleRT::is_realtime() { return 1; }
 int ResampleRT::is_synthesis() { return 1; }
 
@@ -291,7 +291,7 @@ void ResampleRT::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("RESAMPLERT");
        output.tag.set_property("SCALE", config.num);
        output.tag.set_property("DENOM", config.denom);
@@ -306,7 +306,7 @@ void ResampleRT::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())
        {