projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
terminate keyframe string in edl output
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
downsample
/
downsample.C
diff --git
a/cinelerra-5.1/plugins/downsample/downsample.C
b/cinelerra-5.1/plugins/downsample/downsample.C
index 49e1489b35ef512abe80e8fe2466b147b5b5ef5e..4ce9731762fcf86e5df0d1bc23a9964ebc18615c 100644
(file)
--- a/
cinelerra-5.1/plugins/downsample/downsample.C
+++ b/
cinelerra-5.1/plugins/downsample/downsample.C
@@
-373,7
+373,7
@@
DownSampleMain::~DownSampleMain()
if(engine) delete engine;
}
if(engine) delete engine;
}
-const char* DownSampleMain::plugin_title() { return _("Downsample"); }
+const char* DownSampleMain::plugin_title() { return
N
_("Downsample"); }
int DownSampleMain::is_realtime() { return 1; }
int DownSampleMain::is_realtime() { return 1; }
@@
-441,7
+441,7
@@
void DownSampleMain::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("DOWNSAMPLE");
output.tag.set_property("HORIZONTAL", config.horizontal);
output.tag.set_title("DOWNSAMPLE");
output.tag.set_property("HORIZONTAL", config.horizontal);
@@
-462,7
+462,7
@@
void DownSampleMain::save_data(KeyFrame *keyframe)
void DownSampleMain::read_data(KeyFrame *keyframe)
{
FileXML input;
void DownSampleMain::read_data(KeyFrame *keyframe)
{
FileXML input;
- input.set_shared_input(keyframe->
get_data(), strlen(keyframe->get_data())
);
+ input.set_shared_input(keyframe->
xbuf
);
int result = 0;
while(!result) {
int result = 0;
while(!result) {