diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-09-07 17:31:03 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-09-07 17:34:05 +0100 |
commit | 1973d74b6d4a6b22c59299099bc0c0d19b64d4e5 (patch) | |
tree | c3331f4ed4cdf6686e68b1ddbf876ede160b8431 /avmedia/source | |
parent | b5df051cc5d734ef9fd77a5336d2bb8d1d4557c9 (diff) |
tdf#93996 - throttle gltf rendering to let UI re-rendering get in.
Change-Id: I4a61595294c24a609a5952ce72f9f88524969784
Diffstat (limited to 'avmedia/source')
-rw-r--r-- | avmedia/source/opengl/oglplayer.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx index 446723f0016e..a8a9f7d56db2 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; } |