image resize

This commit is contained in:
lostjared
2018-05-16 09:10:43 -07:00
parent 168056cb0d
commit 3fe1b6d395

View File

@@ -189,6 +189,10 @@ void Playback::run() {
cur = current;
mutex_shown.unlock();
ac::orig_frame = frame.clone();
if(blend_set == true && (blend_image_scaled.size() != frame.size())) {
ac::resolution = frame.size();
cv::resize(blend_image, blend_image_scaled, ac::resolution);
}
if(single_mode == true && alpha > 0) {
filterFade(frame, current_filter, prev_filter, alpha);