CVOpenGLESTextureCacheCreateTextureFromImage returns error 6683

前端 未结 3 1009
情深已故
情深已故 2020-12-15 12:58

I am currently attempting to draw an image in openGL using YUV420 format (bi-planar). I receive raw data, and am attempting to parse it into a CVPixelBuffer, and then pass

3条回答
  •  情歌与酒
    2020-12-15 13:27

    The iosurface property is null in the CVPixelBuffer you've created.

    Created manually:

    Created by CMSampleBufferGetImageBuffer:

    To my knowledge there is no solution.

提交回复
热议问题