[Libreoffice-commits] core.git: Branch 'libreoffice-5-0-2' - avmedia/source
Michael Meeks
michael.meeks at collabora.com
Fri Sep 11 02:46:13 PDT 2015
avmedia/source/opengl/oglplayer.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 24b7b71fb21923d964d31d4aa46fff9be75a0118
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Mon Sep 7 17:31:03 2015 +0100
tdf#93996 - throttle gltf rendering to let UI re-rendering get in.
Change-Id: I4a61595294c24a609a5952ce72f9f88524969784
Reviewed-on: https://gerrit.libreoffice.org/18384
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>
Reviewed-on: https://gerrit.libreoffice.org/18442
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx
index 75caec6..f1a3ada 100644
--- a/avmedia/source/opengl/oglplayer.cxx
+++ b/avmedia/source/opengl/oglplayer.cxx
@@ -121,8 +121,10 @@ bool OGLPlayer::create( const OUString& rURL )
}
// Set timer
- m_aTimer.SetTimeout(1);
+ m_aTimer.SetTimeout(8); // is 125fps enough for anyone ?
+ m_aTimer.SetPriority(SchedulerPriority::LOW);
m_aTimer.SetTimeoutHdl(LINK(this,OGLPlayer,TimerHandler));
+
return true;
}
More information about the Libreoffice-commits
mailing list