I’ve a gstreamer pipeline where plugins omxh264dec and nveglglesink are connected directly to each other. I can see that they negotiate to exchange buffers containing memory type “EGLImage” and format “RGBA”. Intermittently, I would like to pull samples from the sink (using it’s “last-sample” property) and process them. However, it seems, I cannot directly access the memory payload. The program seg faults when I try to copy the payload to a newly allocated system memory block.
How would I go about accessing memory of type EGLImage?