reload plugin btn in prefs, speed gang fader tweaks
[goodguy/history.git] / cinelerra-5.1 / plugins / yuv411 / yuv411.C
index 6b3900b5fde127cbf6d450cca9e3ba1ea019448b..100541f5c27a553928f76a44a5e160735f1a41ed 100644 (file)
@@ -70,7 +70,7 @@ yuv411Main::~yuv411Main()
        delete temp_frame;
 }
 
-const char *yuv411Main::plugin_title() { return _("YUV411"); }
+const char *yuv411Main::plugin_title() { return N_("YUV411"); }
 int yuv411Main::is_realtime() { return 1; }
 
 #define YUV411_MACRO(type, components) \
@@ -166,7 +166,7 @@ int yuv411Main::process_realtime(VFrame *input_ptr, VFrame *output_ptr)
                        temp_frame = 0;
                }
                if( !temp_frame )
-                       temp_frame = new VFrame(w, h, colormodel);
+                       temp_frame = new VFrame(w, h, colormodel, 0);
                if( input_ptr == output_ptr ) {
                        temp_frame->copy_from(input_ptr);
                        input_ptr = temp_frame;
@@ -237,7 +237,7 @@ void yuv411Main::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("YUV411");
        output.tag.set_property("OFFSET",config.offset);
@@ -271,7 +271,7 @@ void yuv411Main::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;
        config.avg_vertical = config.int_horizontal = 0;