mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-16 20:00:01 +01:00
Fixed small bug having to do with blend image
This commit is contained in:
@@ -189,7 +189,7 @@ void Playback::run() {
|
||||
cur = current;
|
||||
mutex_shown.unlock();
|
||||
ac::orig_frame = frame.clone();
|
||||
if(blend_set == true && (blend_image_scaled.size() != frame.size())) {
|
||||
if(blend_set == true && (blend_image_scaled.empty() || blend_image_scaled.size() != frame.size())) {
|
||||
ac::resolution = frame.size();
|
||||
cv::resize(blend_image, blend_image_scaled, ac::resolution);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user