projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
splashgui text clr, faders/speed keyframe popup slider rework, reticle rework
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
linearblur
/
linearblur.C
diff --git
a/cinelerra-5.1/plugins/linearblur/linearblur.C
b/cinelerra-5.1/plugins/linearblur/linearblur.C
index 8f6cab2feb3a43f45b0a34ddb085f90098930c9b..af6cb826510f8a8bdab291c01b25dc5b8a3e85ff 100644
(file)
--- a/
cinelerra-5.1/plugins/linearblur/linearblur.C
+++ b/
cinelerra-5.1/plugins/linearblur/linearblur.C
@@
-388,7
+388,7
@@
LinearBlurMain::~LinearBlurMain()
if(temp) delete temp;
}
if(temp) delete temp;
}
-const char* LinearBlurMain::plugin_title() { return _("Linear Blur"); }
+const char* LinearBlurMain::plugin_title() { return
N
_("Linear Blur"); }
int LinearBlurMain::is_realtime() { return 1; }
int LinearBlurMain::is_realtime() { return 1; }
@@
-518,12
+518,9
@@
int LinearBlurMain::process_buffer(VFrame *frame,
this->output = frame;
this->output = frame;
- if(!temp) temp = new VFrame(0,
- -1,
- frame->get_w(),
- frame->get_h(),
- frame->get_color_model(),
- -1);
+ if(!temp)
+ temp = new VFrame(frame->get_w(), frame->get_h(),
+ frame->get_color_model(), 0);
temp->copy_from(frame);
this->input = temp;
temp->copy_from(frame);
this->input = temp;
@@
-562,7
+559,7
@@
void LinearBlurMain::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("LINEARBLUR");
output.tag.set_property("RADIUS", config.radius);
output.tag.set_title("LINEARBLUR");
output.tag.set_property("RADIUS", config.radius);
@@
-583,7
+580,7
@@
void LinearBlurMain::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;