projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ffmpeg 3.4.1, add libopus, openexr probe tweak, rel path for filelist, avg_frame_rate...
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
scaleratio
/
scaleratio.C
diff --git
a/cinelerra-5.1/plugins/scaleratio/scaleratio.C
b/cinelerra-5.1/plugins/scaleratio/scaleratio.C
index 5c5944a74296f02a792dfec7a8fca438caf04bb2..52073c10c7ebdf19e987d1ee42d6818596f359b5 100644
(file)
--- a/
cinelerra-5.1/plugins/scaleratio/scaleratio.C
+++ b/
cinelerra-5.1/plugins/scaleratio/scaleratio.C
@@
-181,9
+181,8
@@
int ScaleRatioMain::process_realtime(VFrame *input_ptr, VFrame *output_ptr)
temp_frame = 0;
}
if(!temp_frame)
temp_frame = 0;
}
if(!temp_frame)
- temp_frame = new VFrame(0, -1,
- input_ptr->get_w(), input_ptr->get_h(),
- input->get_color_model(), -1);
+ temp_frame = new VFrame(input_ptr->get_w(), input_ptr->get_h(),
+ input->get_color_model(), 0);
temp_frame->copy_from(input);
input = temp_frame;
}
temp_frame->copy_from(input);
input = temp_frame;
}