aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/native/openmax/omx_tool.h
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.h
parent6332e13b2f0aa9818d37802302f04c90a4fa4239 (diff)
Fix regression of commit 6332e13b2f0aa9818d37802302f04c90a4fa4239 causing optional OMX to fail to compile
Diffstat (limited to 'src/jogl/native/openmax/omx_tool.h')
-rw-r--r--src/jogl/native/openmax/omx_tool.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jogl/native/openmax/omx_tool.h b/src/jogl/native/openmax/omx_tool.h
index 414befca0..022c56cf9 100644
--- a/src/jogl/native/openmax/omx_tool.h
+++ b/src/jogl/native/openmax/omx_tool.h
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include <string.h>
+// FIXME: Move all sync/buffer handling to Java - Already done -> GLMediaPlayerImpl
#define EGLIMAGE_MAX_BUFFERS 4
extern int USE_OPENGL;
@@ -90,6 +91,7 @@ typedef struct {
KDThreadMutex * mutex;
KDThreadSem * flushSem;
+ // FIXME: Move all sync/buffer handling to Java - Already done -> GLMediaPlayerImpl
OMXToolImageBuffer_t buffers[EGLIMAGE_MAX_BUFFERS];
int vBufferNum;
int glPos;
@@ -118,7 +120,7 @@ KDint OMXToolBasicAV_SetState(OMXToolBasicAV_t * pOMXAV, OMX_STATETYPE state, KD
//
OMXToolBasicAV_t * OMXToolBasicAV_CreateInstance(EGLDisplay dpy); // #1
void OMXToolBasicAV_SetStream(OMXToolBasicAV_t * pOMXAV, int vBufferNum, const KDchar * stream); // #2
-void OMXToolBasicAV_SetStreamEGLImageTexture2D(OMXToolBasicAV_t * pOMXAV, KDint i, GLuint tex, EGLImageKHR image, EGLSyncKHR sync); // #3
+void OMXToolBasicAV_SetStreamEGLImageTexture2D(OMXToolBasicAV_t * pOMXAV, GLuint tex, EGLImageKHR image, EGLSyncKHR sync); // #3
void OMXToolBasicAV_ActivateStream(OMXToolBasicAV_t * pOMXAV); // #4
void OMXToolBasicAV_AttachVideoRenderer(OMXToolBasicAV_t * pOMXAV); // Stop, DetachVideoRenderer, SetEGLImageTexture2D .. before ..