I want to decode a video feed with gstreamer and draw the image on an opengl texture with 0 copy.
So, in my application, I am using the appsink gstreamer plugin to pull a gstreamer buffer. I would like to know if I can retrieve the physical memory address of this buffer.
When I use this instruction:
GstImxPhysMemMeta* physMemMeta = GST_IMX_PHYS_MEM_META_GET(buffer);
Then physMemMeta is always NULL
Is there a way to tell to appsink to use GST_IMX_PHYS_MEM_META_ADD when it creates the buffer ?
Thanks in advance,