aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/native/openmax/omx_tool.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-08-14 06:33:08 +0200
committerSven Gothel <[email protected]>2013-08-14 06:33:08 +0200
commite05e3a4ec36708b35eea9a2db67f6007b68564cf (patch)
treebfbe25d2c119434e878fbf887e0fec84bffcfdfb /src/jogl/native/openmax/omx_tool.c
parent6332e13b2f0aa9818d37802302f04c90a4fa4239 (diff)
Fix regression of commit 6332e13b2f0aa9818d37802302f04c90a4fa4239 causing optional OMX to fail to compile
Diffstat (limited to 'src/jogl/native/openmax/omx_tool.c')
-rw-r--r--src/jogl/native/openmax/omx_tool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/native/openmax/omx_tool.c b/src/jogl/native/openmax/omx_tool.c
index 26a3b93f1..35d5cfa58 100644
--- a/src/jogl/native/openmax/omx_tool.c
+++ b/src/jogl/native/openmax/omx_tool.c
@@ -1059,7 +1059,7 @@ void OMXToolBasicAV_SetStreamEGLImageTexture2D(OMXToolBasicAV_t * pOMXAV, GLuint
kdThreadMutexLock(pOMXAV->mutex);
{
- OMXToolImageBuffer_t *pBuf = &pOMXAV->buffers[i];
+ OMXToolImageBuffer_t *pBuf = &pOMXAV->buffers[0]; // FIXME: Move all sync/buffer handling to Java - Already done -> GLMediaPlayerImpl
pBuf->tex=tex;
pBuf->image=image;
pBuf->sync=sync;
@@ -1640,7 +1640,7 @@ int ModuleTest()
printf("6 eglGetError: 0x%x\n", eglGetError());
- if(OMXToolBasicAV_SetStreamEGLImageTexture2D(pOMXAV, i, tex, image, sync)) {
+ if(OMXToolBasicAV_SetStreamEGLImageTexture2D(pOMXAV, tex, image, sync)) {
return -1;
}
}