diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-05-16 22:08:23 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-05-16 22:11:32 +0200 |
commit | 73212108571d2ef4a7073193ea37b2f6cba4537b (patch) | |
tree | b2fe2e978bb051d6bcf09042a32912c4d7659bbe /avmedia | |
parent | 4c19fd176d964c4ff0b3998b52e268e899350254 (diff) |
OGLPlayer: fix playing of animation in edit mode
gltf_animation_set_time doesn't work but stops the animation.
Change-Id: Ia17724c36e2007451e24f97e04a09240359ad969
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/opengl/oglplayer.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx index 5c3ede6eaedd..ff056e353f7a 100644 --- a/avmedia/source/opengl/oglplayer.cxx +++ b/avmedia/source/opengl/oglplayer.cxx @@ -138,8 +138,9 @@ double SAL_CALL OGLPlayer::getDuration() throw ( uno::RuntimeException, std::exc void SAL_CALL OGLPlayer::setMediaTime( double fTime ) throw ( uno::RuntimeException, std::exception ) { + // TODO: doesn't work, but cause problem in playing osl::MutexGuard aGuard(m_aMutex); - gltf_animation_set_time(m_pHandle, fTime); + //gltf_animation_set_time(m_pHandle, fTime); } double SAL_CALL OGLPlayer::getMediaTime() throw ( ::com::sun::star::uno::RuntimeException, std::exception ) |