X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fswapframes%2Fswapframes.C;h=b1f87f5e2b558e0a67b2e65947443fe941206a80;hb=a88121d876acc81c5a28dbd2cc71e7c6856e2ac0;hp=8284b6fa03706a24e8b77bd4012f3324fb502d4f;hpb=9d832a1fff11b11aaa1108c460690ed05e2bdc05;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/swapframes/swapframes.C b/cinelerra-5.1/plugins/swapframes/swapframes.C index 8284b6fa..b1f87f5e 100644 --- a/cinelerra-5.1/plugins/swapframes/swapframes.C +++ b/cinelerra-5.1/plugins/swapframes/swapframes.C @@ -301,12 +301,9 @@ int SwapFrames::process_buffer(VFrame *frame, if(new_position > prev_frame + 1) { //printf("SwapFrames::process_buffer %d\n", __LINE__); - if(!buffer) buffer = new VFrame(0, - -1, - frame->get_w(), - frame->get_h(), - frame->get_color_model(), - -1); + if(!buffer) + buffer = new VFrame(frame->get_w(), frame->get_h(), + frame->get_color_model(), 0); buffer_position = new_position - 1; read_frame(buffer, 0, @@ -336,8 +333,3 @@ int SwapFrames::process_buffer(VFrame *frame, return 0; } -int SwapFrames::handle_opengl() -{ - return 0; -} -