FIX: test video loaded by width >= 320

Change-Id: I57d8f13b5317fdda3ff4cf9e6ff8b52755929c86
This commit is contained in:
chunmao.guo 2023-07-05 20:28:56 +08:00 committed by Lane.Wei
parent 8a9738c122
commit fe7a96ef15
1 changed files with 1 additions and 1 deletions

View File

@ -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);