[Interest] Using QMediaplayer with QAbstractVideoSurface on Android?

Lopes Yoann Yoann.Lopes at digia.com
Tue May 13 17:00:32 CEST 2014


On May 13, 2014, at 4:52 PM, Lopes Yoann wrote:

> Another thing you need to know is that the texture you'll get uses the GL_TEXTURE_EXTERNAL_OES texture target and not the regular GL_TEXTURE_2D target. You can find some information about this here http://developer.android.com/reference/android/graphics/SurfaceTexture.html and here http://www.khronos.org/registry/gles/extensions/OES/OES_EGL_image_external.txt

You can actually ignore that part... I forgot that we now render the GL_TEXTURE_EXTERNAL_OES to an intermediate FBO so what you'll get will be a GL_TEXTURE_2D.

--
Yoann


More information about the Interest mailing list