[Libreoffice-commits] core.git: avmedia/source

Zolnai Tamás tamas.zolnai at collabora.com
Fri May 16 13:59:54 PDT 2014


 avmedia/source/opengl/oglplayer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 17ed8c53290eee47fcf085c1592b7e635055f1b3
Author: Zolnai Tamás <tamas.zolnai at collabora.com>
Date:   Fri May 16 22:57:33 2014 +0200

    OGLPlayer: comment out gltf_animation_get_time
    
    It leads confusing behavior. Time is not set by now
    because set method does not work.
    
    Change-Id: I447d07d4193e25e6916ee05ee335d4cf150380a2

diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx
index f789acd..83f5221 100644
--- a/avmedia/source/opengl/oglplayer.cxx
+++ b/avmedia/source/opengl/oglplayer.cxx
@@ -147,7 +147,7 @@ void SAL_CALL OGLPlayer::setMediaTime( double fTime ) throw ( uno::RuntimeExcept
 double SAL_CALL OGLPlayer::getMediaTime() throw ( ::com::sun::star::uno::RuntimeException, std::exception )
 {
     osl::MutexGuard aGuard(m_aMutex);
-    return gltf_animation_get_time(m_pHandle);
+    return 0.0; //gltf_animation_get_time(m_pHandle);
 }
 
 double SAL_CALL OGLPlayer::getRate() throw ( uno::RuntimeException, std::exception )


More information about the Libreoffice-commits mailing list