QAbstractVideoBuffer::GLTextureHandle with QVideoFrame
-
I am trying to build a multimedia solution in which I use qmediaplayer and a qabstractvideosurface to display videos. If I receive a new frame in the present(const QVideoFrame&) function of the qabstractvideosurface, the videoframe always has NoHandle. I would like to use these frames in a opengl project, so I am looking to get a GLTextureHandle instead. How can I achieve this?