1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Improve video playing speed

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-07-12 14:52:01 +02:00
parent 96268a28d0
commit e92ded47ab

View File

@ -1317,7 +1317,7 @@ void Core::playCallVideo(ToxAv*, int32_t callId, vpx_image_t* img)
if (!calls[callId].active || !calls[callId].videoEnabled)
return;
if (videoBusyness >= 2)
if (videoBusyness >= 1)
qWarning() << "Core: playCallVideo: Busy, dropping current frame";
else
emit Widget::getInstance()->getCore()->videoFrameReceived(img);