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:
parent
96268a28d0
commit
e92ded47ab
2
core.cpp
2
core.cpp
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user