dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / decimate / decimate.C
index f2d4d6bb35d6a74ad73cc1c2a9143b56aa709254..5f72ea0c066b76e7eb1d00862bab99e19b0b3ebb 100644 (file)
@@ -739,7 +739,7 @@ int Decimate::process_buffer(VFrame *frame,
 
 
 
-const char* Decimate::plugin_title() { return _("Decimate"); }
+const char* Decimate::plugin_title() { return N_("Decimate"); }
 int Decimate::is_realtime() { return 1; }
 
 NEW_WINDOW_MACRO(Decimate, DecimateWindow)
@@ -761,7 +761,7 @@ void Decimate::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("DECIMATE");
        output.tag.set_property("INPUT_RATE", config.input_rate);
 //     output.tag.set_property("AVERAGED_FRAMES", config.averaged_frames);
@@ -777,7 +777,7 @@ void Decimate::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())
        {