dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git] / cinelerra-5.1 / plugins / 1080to540 / 1080to540.C
index 8e44c87cc44ce5d6bc648731b03994e85b6ad98b..ecf9a0f82af619a31cb61b4686ad70c6f249686a 100644 (file)
@@ -159,7 +159,7 @@ _1080to540Main::~_1080to540Main()
        if(temp) delete temp;
 }
 
-const char* _1080to540Main::plugin_title() { return _("1080 to 540"); }
+const char* _1080to540Main::plugin_title() { return N_("1080 to 540"); }
 int _1080to540Main::is_realtime() { return 1; }
 
 NEW_WINDOW_MACRO(_1080to540Main, _1080to540Window)
@@ -259,7 +259,7 @@ int _1080to540Main::process_realtime(VFrame *input, VFrame *output)
 void _1080to540Main::save_data(KeyFrame *keyframe)
 {
        FileXML output;
-       output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
+       output.set_shared_output(keyframe->xbuf);
        output.tag.set_title("1080TO540");
        output.tag.set_property("FIRST_FIELD", config.first_field);
        output.append_tag();
@@ -272,7 +272,7 @@ void _1080to540Main::save_data(KeyFrame *keyframe)
 void _1080to540Main::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())
        {