diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-05-28 16:43:08 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-05-27 14:54:24 +0200 |
commit | 3453273086ef4c546c2a7dca41654627fd720cfa (patch) | |
tree | 28aca1741be7d70bcdcbe90deceb96fbf5283d2e /avmedia | |
parent | 8d40fd2e0d7c264ce38c361fe7c9a20de9a81f0a (diff) |
First stop the timer, then the animation.
Change-Id: Icd5f9f4b8e1c48176fdb73c954e1c4b7d0811516
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/opengl/oglplayer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx index fefbb314518c..88c93a6a0562 100644 --- a/avmedia/source/opengl/oglplayer.cxx +++ b/avmedia/source/opengl/oglplayer.cxx @@ -145,8 +145,8 @@ void SAL_CALL OGLPlayer::start() throw ( uno::RuntimeException, std::exception ) void SAL_CALL OGLPlayer::stop() throw ( uno::RuntimeException, std::exception ) { osl::MutexGuard aGuard(m_aMutex); - gltf_animation_stop(m_pHandle); m_aTimer.Stop(); + gltf_animation_stop(m_pHandle); } sal_Bool SAL_CALL OGLPlayer::isPlaying() throw ( uno::RuntimeException, std::exception ) |