Skip to content

Commit

Permalink
fix: maybe fix minicap connection problem
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-para committed Oct 31, 2023
1 parent 2612a72 commit 74ce2a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/MaaAdbControlUnit/Screencap/Minicap/MinicapStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ bool MinicapStream::init(int swidth, int sheight)
if (outputBuffer.find("Allocating") != std::string::npos) {
break;
}
using namespace std::chrono_literals;
std::this_thread::sleep_for(100ms);
}

if (i == 0) {
Expand Down

0 comments on commit 74ce2a0

Please sign in to comment.