Best path from AVPlayerItemVideoOutput to openGL Texture

前端 未结 3 1917
醉话见心
醉话见心 2021-02-06 05:51

Been pulling my hair out trying to figure out the current best path from AVFoundation videos to an openGLTexture, most of what I find is related to iOS, and I can\'t seem to mak

3条回答
  •  庸人自扰
    2021-02-06 06:21

    When using option #2, did you set the "retains backing" property of the EAGLLayer to NO? That may be why it appears to be using the same frame in different cycles. It would be beneficial to see how you configured, or whether you configured, the layer appropriately for the view to which you're rendering framebuffers...

提交回复
热议问题