Passing DMA buffer fd

Gururaj gururajspeaks at gmail.com
Mon Dec 28 11:58:42 UTC 2020


Hi All,
I have created a gstreamer plugin which acts as a source element for camera
data.
In that plugin i have started the camera device in DMA buf mode using v4l2
api and drm api's
I'm able to get the data using the drmfd with the below ioctl call:
ioctl(drmfd, DRM_IOCTL_MODE_MAP_DUMB, &arg);

But i want to pass the fd to downstream elements

Can someone please hekp on how can i pass this fd to downstream elements so
that they can use that fd for accessing the dma buffer

Thanks in advance



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list