projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dynamic keyframes, textbox rework, andrea ffmpeg.opts, perpetual chkpt undo, lv2...
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
threshold
/
threshold.C
diff --git
a/cinelerra-5.1/plugins/threshold/threshold.C
b/cinelerra-5.1/plugins/threshold/threshold.C
index 402ba5987d6b069b3a2f6aec172ad134b5fd03bc..ad68519830ef042fc89489cf7a402f7ad45c624b 100644
(file)
--- a/
cinelerra-5.1/plugins/threshold/threshold.C
+++ b/
cinelerra-5.1/plugins/threshold/threshold.C
@@
-169,7
+169,7
@@
int ThresholdMain::process_buffer(VFrame *frame,
void ThresholdMain::save_data(KeyFrame *keyframe)
{
FileXML output;
void ThresholdMain::save_data(KeyFrame *keyframe)
{
FileXML output;
- output.set_shared_output(keyframe->
get_data(), MESSAGESIZE
);
+ output.set_shared_output(keyframe->
xbuf
);
output.tag.set_title("THRESHOLD");
output.tag.set_property("MIN", config.min);
output.tag.set_property("MAX", config.max);
output.tag.set_title("THRESHOLD");
output.tag.set_property("MIN", config.min);
output.tag.set_property("MAX", config.max);
@@
-187,8
+187,7
@@
void ThresholdMain::save_data(KeyFrame *keyframe)
void ThresholdMain::read_data(KeyFrame *keyframe)
{
FileXML input;
void ThresholdMain::read_data(KeyFrame *keyframe)
{
FileXML input;
- const char *data = keyframe->get_data();
- input.set_shared_input((char *)data, strlen(data));
+ input.set_shared_input(keyframe->xbuf);
int result = 0;
while(!result)
{
int result = 0;
while(!result)
{