From e92ded47ab3b94dfcb289a37e659d1b10d9c4239 Mon Sep 17 00:00:00 2001 From: "Tux3 / Mlkj / !Lev.uXFMLA" Date: Sat, 12 Jul 2014 14:52:01 +0200 Subject: [PATCH] Improve video playing speed --- core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.cpp b/core.cpp index a6c228f24..dfa813b8d 100644 --- a/core.cpp +++ b/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);