[Libreoffice-commits] core.git: Branch 'feature/chart-3d-chart2' - avmedia/source

Jan Holesovsky kendy at collabora.com
Mon May 26 17:08:22 PDT 2014


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

New commits:
commit 0e69e6ec4db9ba1651f460a1ca36fc31b79e5729
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Tue May 27 02:03:51 2014 +0200

    [not for master] This makes the presentation work, but the preview does not.
    
    A large model fails to work in the presentation mode when the preview is shown.
    
    Change-Id: I30011d7f983ba1f5e2b9e3dc38830d139c378533

diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx
index f2e80d2..2536b68 100644
--- a/avmedia/source/opengl/oglplayer.cxx
+++ b/avmedia/source/opengl/oglplayer.cxx
@@ -239,6 +239,7 @@ uno::Reference< media::XFrameGrabber > SAL_CALL OGLPlayer::createFrameGrabber()
     m_pHandle->viewport.width = getPreferredPlayerWindowSize().Width;
     m_pHandle->viewport.height = getPreferredPlayerWindowSize().Height;
     gltf_renderer_set_content(m_pHandle);
+    return uno::Reference< media::XFrameGrabber >();
     OGLFrameGrabber *pFrameGrabber = new OGLFrameGrabber( m_pHandle );
     return uno::Reference< media::XFrameGrabber >( pFrameGrabber );
 }


More information about the Libreoffice-commits mailing list