X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fyuv411%2Fyuv411.C;h=100541f5c27a553928f76a44a5e160735f1a41ed;hb=7eded24eb31529ad7652dea64e34b0a6210e5be1;hp=6b3900b5fde127cbf6d450cca9e3ba1ea019448b;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/yuv411/yuv411.C b/cinelerra-5.1/plugins/yuv411/yuv411.C index 6b3900b5..100541f5 100644 --- a/cinelerra-5.1/plugins/yuv411/yuv411.C +++ b/cinelerra-5.1/plugins/yuv411/yuv411.C @@ -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;