mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-27 06:02:08 +00:00
FIX: not keep restarting video on local error
Change-Id: I2f79208326f92931bec108a4609088788ceca998
This commit is contained in:
@@ -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