projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change composer to chroma only - no src alpha blend, resize about pref, new expanders...
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
1080to540
/
1080to540.C
diff --git
a/cinelerra-5.1/plugins/1080to540/1080to540.C
b/cinelerra-5.1/plugins/1080to540/1080to540.C
index 21306b55d40bc7bf014d61d61a7e4068883642aa..ecf9a0f82af619a31cb61b4686ad70c6f249686a 100644
(file)
--- a/
cinelerra-5.1/plugins/1080to540/1080to540.C
+++ b/
cinelerra-5.1/plugins/1080to540/1080to540.C
@@
-159,7
+159,7
@@
_1080to540Main::~_1080to540Main()
if(temp) delete temp;
}
if(temp) delete temp;
}
-const char* _1080to540Main::plugin_title() { return _("1080 to 540"); }
+const char* _1080to540Main::plugin_title() { return
N
_("1080 to 540"); }
int _1080to540Main::is_realtime() { return 1; }
NEW_WINDOW_MACRO(_1080to540Main, _1080to540Window)
int _1080to540Main::is_realtime() { return 1; }
NEW_WINDOW_MACRO(_1080to540Main, _1080to540Window)
@@
-241,12
+241,8
@@
int _1080to540Main::process_realtime(VFrame *input, VFrame *output)
load_configuration();
if(!temp)
{
load_configuration();
if(!temp)
{
- temp = new VFrame(0,
- -1,
- input->get_w(),
- input->get_h(),
- input->get_color_model(),
- -1);
+ temp = new VFrame(input->get_w(), input->get_h(),
+ input->get_color_model(), 0);
temp->clear_frame();
}
temp->clear_frame();
}
@@
-263,7
+259,7
@@
int _1080to540Main::process_realtime(VFrame *input, VFrame *output)
void _1080to540Main::save_data(KeyFrame *keyframe)
{
FileXML output;
void _1080to540Main::save_data(KeyFrame *keyframe)
{
FileXML output;
- output.set_shared_output(keyframe->
get_data(), MESSAGESIZE
);
+ output.set_shared_output(keyframe->
xbuf
);
output.tag.set_title("1080TO540");
output.tag.set_property("FIRST_FIELD", config.first_field);
output.append_tag();
output.tag.set_title("1080TO540");
output.tag.set_property("FIRST_FIELD", config.first_field);
output.append_tag();
@@
-276,7
+272,7
@@
void _1080to540Main::save_data(KeyFrame *keyframe)
void _1080to540Main::read_data(KeyFrame *keyframe)
{
FileXML input;
void _1080to540Main::read_data(KeyFrame *keyframe)
{
FileXML input;
- input.set_shared_input(keyframe->
get_data(), strlen(keyframe->get_data())
);
+ input.set_shared_input(keyframe->
xbuf
);
while(!input.read_tag())
{
while(!input.read_tag())
{