projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
olaf neophyte and de.po updates, valgrind tweaks, delete green lady, inkscape dpi=96
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
whirl
/
whirl.C
diff --git
a/cinelerra-5.1/plugins/whirl/whirl.C
b/cinelerra-5.1/plugins/whirl/whirl.C
index 6c920dfcf8b7ccd0c812eeddac31adce12124e63..af514fe74f748440bd666e9bbc133a908a6dfc2b 100644
(file)
--- a/
cinelerra-5.1/plugins/whirl/whirl.C
+++ b/
cinelerra-5.1/plugins/whirl/whirl.C
@@
-363,7
+363,7
@@
WhirlEffect::~WhirlEffect()
-const char* WhirlEffect::plugin_title() { return _("Whirl"); }
+const char* WhirlEffect::plugin_title() { return
N
_("Whirl"); }
int WhirlEffect::is_realtime() { return 1; }
int WhirlEffect::is_realtime() { return 1; }
@@
-394,7
+394,7
@@
void WhirlEffect::save_data(KeyFrame *keyframe)
FileXML output;
// cause data to be stored directly in text
FileXML output;
// cause data to be stored directly in text
- output.set_shared_output(keyframe->
get_data(), MESSAGESIZE
);
+ output.set_shared_output(keyframe->
xbuf
);
output.tag.set_title("WHIRL");
output.tag.set_property("ANGLE", config.angle);
output.tag.set_title("WHIRL");
output.tag.set_property("ANGLE", config.angle);
@@
-412,7
+412,7
@@
void WhirlEffect::read_data(KeyFrame *keyframe)
{
FileXML input;
{
FileXML input;
- input.set_shared_input(keyframe->
get_data(), strlen(keyframe->get_data())
);
+ input.set_shared_input(keyframe->
xbuf
);
int result = 0;
int result = 0;
@@
-448,12
+448,8
@@
int WhirlEffect::process_realtime(VFrame *input, VFrame *output)
{
if(input->get_rows()[0] == output->get_rows()[0])
{
{
if(input->get_rows()[0] == output->get_rows()[0])
{
- if(!temp_frame) temp_frame = new VFrame(0,
- -1,
- input->get_w(),
- input->get_h(),
- input->get_color_model(),
- -1);
+ if(!temp_frame) temp_frame = new VFrame(input->get_w(), input->get_h(),
+ input->get_color_model(), 0);
temp_frame->copy_from(input);
this->input = temp_frame;
}
temp_frame->copy_from(input);
this->input = temp_frame;
}