mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
FIX: test video loaded by width >= 320
Change-Id: I57d8f13b5317fdda3ff4cf9e6ff8b52755929c86
This commit is contained in:
parent
8a9738c122
commit
fe7a96ef15
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ void MediaPlayCtrl::onStateChanged(wxMediaEvent &event)
|
||||||
wxSize size = m_media_ctrl->GetVideoSize();
|
wxSize size = m_media_ctrl->GetVideoSize();
|
||||||
BOOST_LOG_TRIVIAL(info) << "MediaPlayCtrl::onStateChanged: size: " << size.x << "x" << size.y;
|
BOOST_LOG_TRIVIAL(info) << "MediaPlayCtrl::onStateChanged: size: " << size.x << "x" << size.y;
|
||||||
m_failed_code = m_media_ctrl->GetLastError();
|
m_failed_code = m_media_ctrl->GetLastError();
|
||||||
if (size.GetWidth() > 1000) {
|
if (size.GetWidth() >= 320) {
|
||||||
m_last_state = state;
|
m_last_state = state;
|
||||||
SetStatus(_L("Playing..."), false);
|
SetStatus(_L("Playing..."), false);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue