X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fivtc%2Fivtc.C;h=fc74ad0ef95f16d7906d6e19cacf4083e5406270;hb=502b6f3b6fd04f6b01c6d70dcb81aa304dd0db1c;hp=57a47cca42ef345d87fe321cb8f2118c0184d2e5;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/ivtc/ivtc.C b/cinelerra-5.1/plugins/ivtc/ivtc.C index 57a47cca..fc74ad0e 100644 --- a/cinelerra-5.1/plugins/ivtc/ivtc.C +++ b/cinelerra-5.1/plugins/ivtc/ivtc.C @@ -73,7 +73,7 @@ IVTCMain::~IVTCMain() } } -const char* IVTCMain::plugin_title() { return _("Inverse Telecine"); } +const char* IVTCMain::plugin_title() { return N_("Inverse Telecine"); } int IVTCMain::is_realtime() { return 1; } @@ -165,18 +165,12 @@ int IVTCMain::process_realtime(VFrame *input_ptr, VFrame *output_ptr) int pattern_position = (PluginClient::source_position + config.frame_offset) % 5; //printf("IVTCMain::process_realtime %d %d\n", pattern_position, config.first_field); - if(!temp_frame[0]) temp_frame[0] = new VFrame(0, - -1, - input_ptr->get_w(), - input_ptr->get_h(), - input_ptr->get_color_model(), - -1); - if(!temp_frame[1]) temp_frame[1] = new VFrame(0, - -1, - input_ptr->get_w(), - input_ptr->get_h(), - input_ptr->get_color_model(), - -1); + if(!temp_frame[0]) + temp_frame[0] = new VFrame(input_ptr->get_w(), input_ptr->get_h(), + input_ptr->get_color_model(), 0); + if(!temp_frame[1]) + temp_frame[1] = new VFrame(input_ptr->get_w(), input_ptr->get_h(), + input_ptr->get_color_model(), 0); int row_size = VFrame::calculate_bytes_per_pixel(input_ptr->get_color_model()) * input_ptr->get_w(); this->input = input_ptr;