FIX: not keep restarting video on local error

Change-Id: I2f79208326f92931bec108a4609088788ceca998
This commit is contained in:
chunmao.guo 2022-09-07 14:03:53 +08:00 committed by Lane.Wei
parent 288913cc4b
commit b2b2bc2a9c
3 changed files with 18 additions and 5 deletions

View file

@ -746,7 +746,7 @@ void PrinterFileSystem::Reconnect(boost::unique_lock<boost::mutex> &l, int resul
std::string url = m_messages.front();
m_messages.clear();
if (url.empty()) {
m_last_error = -100;
m_last_error = 1;
} else {
l.unlock();
m_status = Status::Connecting;