This commit is contained in:
status102
2025-01-15 23:28:21 +08:00
parent ecaf6a8f53
commit 0549fd0347

View File

@@ -510,7 +510,7 @@ bool asst::AdbController::screencap(cv::Mat& image_payload, bool allow_reconnect
return true;
};
image_payload = {};
image_payload = cv::Mat(); // 清空缓存
if (m_adb.screencap_method == AdbProperty::ScreencapMethod::UnknownYet) {
Log.info("Try to find the fastest way to screencap");
auto min_cost = milliseconds(LLONG_MAX);