X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fswapframes%2Fswapframes.C;h=d4270c46204f07d4e3f0a72a22bd5e2ec15014ce;hb=5ac2037d8e5ab71a1915389cd08b458cfb60d64f;hp=0b8673932581725bd553ab344b5890b9cfb2e168;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/swapframes/swapframes.C b/cinelerra-5.1/plugins/swapframes/swapframes.C index 0b867393..d4270c46 100644 --- a/cinelerra-5.1/plugins/swapframes/swapframes.C +++ b/cinelerra-5.1/plugins/swapframes/swapframes.C @@ -25,7 +25,7 @@ #include "filexml.h" #include "guicast.h" #include "language.h" -#include "cicolors.h" +#include "bccolors.h" #include "pluginvclient.h" #include "swapframes.h" #include "vframe.h" @@ -213,7 +213,7 @@ SwapFrames::~SwapFrames() delete buffer; } -const char* SwapFrames::plugin_title() { return _("Swap Frames"); } +const char* SwapFrames::plugin_title() { return N_("Swap Frames"); } int SwapFrames::is_realtime() { return 1; } NEW_WINDOW_MACRO(SwapFrames, SwapFramesWindow) @@ -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; -} -