aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/native/openmax/jogamp_opengl_omx_OMXGLMediaPlayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/native/openmax/jogamp_opengl_omx_OMXGLMediaPlayer.c')
-rw-r--r--src/jogl/native/openmax/jogamp_opengl_omx_OMXGLMediaPlayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/native/openmax/jogamp_opengl_omx_OMXGLMediaPlayer.c b/src/jogl/native/openmax/jogamp_opengl_omx_OMXGLMediaPlayer.c
index 86307ae59..73687f305 100644
--- a/src/jogl/native/openmax/jogamp_opengl_omx_OMXGLMediaPlayer.c
+++ b/src/jogl/native/openmax/jogamp_opengl_omx_OMXGLMediaPlayer.c
@@ -222,12 +222,12 @@ JNIEXPORT jlong JNICALL Java_jogamp_opengl_omx_OMXGLMediaPlayer__1seek
}
JNIEXPORT jint JNICALL Java_jogamp_opengl_omx_OMXGLMediaPlayer__1getNextTextureID
- (JNIEnv *env, jobject instance, jlong ptr)
+ (JNIEnv *env, jobject instance, jlong ptr, jboolean blocking)
{
jint textureID = 0xffffffff;
OMXToolBasicAV_t *pOMXAV = (OMXToolBasicAV_t *)((void *)((intptr_t)ptr));
if (pOMXAV != NULL) {
- textureID = OMXToolBasicAV_GetNextTextureID(pOMXAV);
+ textureID = OMXToolBasicAV_GetNextTextureID(pOMXAV, blocking ? 1 : 0);
}
return textureID;
}