mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-19 21:51:06 +00:00
FIX: not keep restarting video on local error
Change-Id: I2f79208326f92931bec108a4609088788ceca998
This commit is contained in:
1 parent
288913cc4b
commit
b2b2bc2a9c
3 files changed
+18
-5
No files matched your search
@@ -135,6 +135,8 @@ void MediaPlayCtrl::Stop()
|
||||
m_cond.notify_all();
|
||||
m_last_state = MEDIASTATE_IDLE;
|
||||
SetStatus(_L("Stopped."));
|
||||
if (m_failed_code >= 100) // not keep retry on local error
|
||||
m_next_retry = wxDateTime();
|
||||
}
|
||||
++m_failed_retry;
|
||||
if (m_next_retry.IsValid())
|
||||
|
||||
Reference in new issue
Block a user