From 5dffe3cce36342344440715d91c1ac3b0015994a Mon Sep 17 00:00:00 2001 From: "chunmao.guo" Date: Fri, 29 Dec 2023 10:13:52 +0800 Subject: [PATCH] FIX: MediaPlay not retry on end of stream Change-Id: Iaf67de97a441cbff6d3c63a315fb1c35550e537e Jira: none --- src/slic3r/GUI/MediaPlayCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/MediaPlayCtrl.cpp b/src/slic3r/GUI/MediaPlayCtrl.cpp index efd21f581..4fdd25484 100644 --- a/src/slic3r/GUI/MediaPlayCtrl.cpp +++ b/src/slic3r/GUI/MediaPlayCtrl.cpp @@ -297,7 +297,7 @@ void MediaPlayCtrl::Stop(wxString const &msg) SetStatus(_L("Stopped [%d]!"), true); else SetStatus(_L("Stopped."), false); - if (!m_auto_retry || m_failed_code >= 100) // not keep retry on local error + if (!m_auto_retry || m_failed_code >= 100 || m_failed_code == 1) // not keep retry on local error or EOS m_next_retry = wxDateTime(); } else if (!msg.IsEmpty()) { SetStatus(msg, false);