mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
FIX: not keep restarting video on local error
Change-Id: I2f79208326f92931bec108a4609088788ceca998
This commit is contained in:
parent
288913cc4b
commit
b2b2bc2a9c
3 changed files with 18 additions and 5 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue