projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
delete stray line in last checkin
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
swapframes
/
swapframes.C
diff --git
a/cinelerra-5.1/plugins/swapframes/swapframes.C
b/cinelerra-5.1/plugins/swapframes/swapframes.C
index 8284b6fa03706a24e8b77bd4012f3324fb502d4f..d4270c46204f07d4e3f0a72a22bd5e2ec15014ce 100644
(file)
--- a/
cinelerra-5.1/plugins/swapframes/swapframes.C
+++ b/
cinelerra-5.1/plugins/swapframes/swapframes.C
@@
-213,7
+213,7
@@
SwapFrames::~SwapFrames()
delete buffer;
}
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)
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(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,
buffer_position = new_position - 1;
read_frame(buffer,
0,
@@
-336,8
+333,3
@@
int SwapFrames::process_buffer(VFrame *frame,
return 0;
}
return 0;
}
-int SwapFrames::handle_opengl()
-{
- return 0;
-}
-