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