Accessing memory of type EGLImage

Hi,

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?

Thanks

p.s.: The gst-launch equivalent for my pipeline looks like:

gst-launch-1.0 -v videotestsrc ! omxh264enc ! queue ! h264parse ! omxh264dec ! nveglglessink enable-last-sample=true

I’m sorry but we do not have any experience with that particular use case.

Please also not that while NVIDIA does advertise gstreamer 1.0 support in their multimedia user guide it is not really working too well and we advice to stick to gstreamer 0.10 for now.