mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-18 21:00:13 +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;
|
cur = current;
|
||||||
mutex_shown.unlock();
|
mutex_shown.unlock();
|
||||||
ac::orig_frame = frame.clone();
|
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();
|
ac::resolution = frame.size();
|
||||||
cv::resize(blend_image, blend_image_scaled, ac::resolution);
|
cv::resize(blend_image, blend_image_scaled, ac::resolution);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user