mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 06:04:29 +08:00
FIX: test video loaded by width >= 320
Change-Id: I57d8f13b5317fdda3ff4cf9e6ff8b52755929c86
This commit is contained in:
parent
8a9738c122
commit
fe7a96ef15
@ -420,7 +420,7 @@ void MediaPlayCtrl::onStateChanged(wxMediaEvent &event)
|
||||
wxSize size = m_media_ctrl->GetVideoSize();
|
||||
BOOST_LOG_TRIVIAL(info) << "MediaPlayCtrl::onStateChanged: size: " << size.x << "x" << size.y;
|
||||
m_failed_code = m_media_ctrl->GetLastError();
|
||||
if (size.GetWidth() > 1000) {
|
||||
if (size.GetWidth() >= 320) {
|
||||
m_last_state = state;
|
||||
SetStatus(_L("Playing..."), false);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user