projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rework histogram_bezier, init wm icon set_icon(gg), update de.po+msg/txt
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
motionblur
/
motionblur.C
diff --git
a/cinelerra-5.1/plugins/motionblur/motionblur.C
b/cinelerra-5.1/plugins/motionblur/motionblur.C
index 37df852f6c501484cd4fb9633b9a87ff482a9ead..aac86d25da461cbc02152e33c1077741321e0e43 100644
(file)
--- a/
cinelerra-5.1/plugins/motionblur/motionblur.C
+++ b/
cinelerra-5.1/plugins/motionblur/motionblur.C
@@
-312,7
+312,7
@@
MotionBlurMain::~MotionBlurMain()
if(temp) delete temp;
}
if(temp) delete temp;
}
-const char* MotionBlurMain::plugin_title() { return _("Motion Blur"); }
+const char* MotionBlurMain::plugin_title() { return
N
_("Motion Blur"); }
int MotionBlurMain::is_realtime() { return 1; }
int MotionBlurMain::is_realtime() { return 1; }
@@
-371,12
+371,8
@@
int MotionBlurMain::process_realtime(VFrame *input_ptr, VFrame *output_ptr)
if(input_ptr->get_rows()[0] == output_ptr->get_rows()[0])
{
if(input_ptr->get_rows()[0] == output_ptr->get_rows()[0])
{
- if(!temp) temp = new VFrame(0,
- -1,
- input_ptr->get_w(),
- input_ptr->get_h(),
- input_ptr->get_color_model(),
- -1);
+ if(!temp) temp = new VFrame(input_ptr->get_w(), input_ptr->get_h(),
+ input_ptr->get_color_model(), 0);
temp->copy_from(input_ptr);
this->input = temp;
}
temp->copy_from(input_ptr);
this->input = temp;
}
@@
-486,7
+482,7
@@
void MotionBlurMain::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("MOTIONBLUR");
output.tag.set_property("RADIUS", config.radius);
output.tag.set_title("MOTIONBLUR");
output.tag.set_property("RADIUS", config.radius);
@@
-502,7
+498,7
@@
void MotionBlurMain::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;