summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-05-28 16:43:08 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-06-11 19:27:30 +0200
commit7e50c6ab24f0cadffe43073c3410cd121d578fec (patch)
tree75917fc5993a5b18633f0eec160a61af5acf88b3 /avmedia
parent034a4c50b2aaac22caeea9a70d20d5e007b1d0cc (diff)
First stop the timer, then the animation.
Change-Id: Icd5f9f4b8e1c48176fdb73c954e1c4b7d0811516
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/opengl/oglplayer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx
index b626bf2670db..79d8d184d5f9 100644
--- a/avmedia/source/opengl/oglplayer.cxx
+++ b/avmedia/source/opengl/oglplayer.cxx
@@ -122,8 +122,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 )