X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fplugins%2Fivtc%2Fivtc.C;h=8966ea5165d37581d83d80ebab35e48e1b58c071;hb=48c313de28fe6d39d9431dbe2dca6ffb176541ff;hp=57a47cca42ef345d87fe321cb8f2118c0184d2e5;hpb=3f6a262cfe390b3f8b275297d64565a5b6272969;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/ivtc/ivtc.C b/cinelerra-5.1/plugins/ivtc/ivtc.C index 57a47cca..8966ea51 100644 --- a/cinelerra-5.1/plugins/ivtc/ivtc.C +++ b/cinelerra-5.1/plugins/ivtc/ivtc.C @@ -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;