How to extract and manage a nvbuffer from a gstbuffer?

Hi!

I am developing a GStreamer filter plugin and needs to know how to extract and manage a nvbuffer from a gstbuffer. My element needs to be capable to receive frames from nvcamerasrc or nvvidconv elements.

I will appreciate a lot any help!

Thanks in advance.

Best regards,
-Daniel

Hi dgarba,
Here is a reference for your case:
https://devtalk.nvidia.com/default/topic/1019815/jetson-tx1/nvmm-memory-in-custom-gstreamer-plugin/post/5195279/#5195279