avmedia/source/opengl/oglplayer.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 24b7b71fb21923d964d31d4aa46fff9be75a0118 Author: Michael Meeks <[email protected]> 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 <[email protected]> Tested-by: Miklos Vajna <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/18442 Reviewed-by: Tomaž Vajngerl <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> 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; }
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
