summaryrefslogtreecommitdiff
path: root/avmedia/source/opengl/oglframegrabber.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-05-12 21:56:26 +0200
committerJan Holesovsky <kendy@collabora.com>2014-05-21 10:36:53 +0200
commitf933cb0a646ecebff27e93ddfb0fc2a3e417ce4e (patch)
treeb7345b2523ef2acd2c42b1de6d7c261bdecc523d /avmedia/source/opengl/oglframegrabber.cxx
parent1b0402f87c9b17fef2141130bfaa1798ece6ba0d (diff)
libgltf: Update to the new version.
Change-Id: Iffc91425d4395699a1c5f18ac10f5ed065231fdf
Diffstat (limited to 'avmedia/source/opengl/oglframegrabber.cxx')
-rw-r--r--avmedia/source/opengl/oglframegrabber.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/opengl/oglframegrabber.cxx b/avmedia/source/opengl/oglframegrabber.cxx
index c4d2408fc8f2..9db1f1b028d0 100644
--- a/avmedia/source/opengl/oglframegrabber.cxx
+++ b/avmedia/source/opengl/oglframegrabber.cxx
@@ -37,7 +37,7 @@ uno::Reference< css::graphic::XGraphic > SAL_CALL OGLFrameGrabber::grabFrame( do
throw ( uno::RuntimeException, std::exception )
{
boost::scoped_array<sal_uInt8> pBuffer(new sal_uInt8[m_pHandle->viewport.width * m_pHandle->viewport.height * 4]);
- gltf_renderer_get_bitmap(m_pHandle, fMediaTime, (char*)pBuffer.get(), GL_BGRA);
+ gltf_renderer_get_bitmap(&m_pHandle, 1, fMediaTime, (char*)pBuffer.get(), GL_BGRA);
BitmapEx aBitmap = OpenGLHelper::ConvertBGRABufferToBitmapEx(pBuffer.get(), m_pHandle->viewport.width, m_pHandle->viewport.height);
return Graphic( aBitmap ).GetXGraphic();
}