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();
|
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…
Reference in New Issue