undefined symbol: gst_dmabuf_allocator_new

Nicolas Dufresne nicolas at ndufresne.ca
Fri Jun 11 14:40:57 UTC 2021


Le vendredi 11 juin 2021 à 03:50 -0500, ChrisLiuv via gstreamer-devel a écrit :
> Hi
> 
> I use plugin bad template to construct my custom element,
> 
> https://developer.ridgerun.com/wiki/index.php?title=Creating_a_New_GStreamer_Element_or_Application_Using_Templates
> 
> I try to use gst_dmabuf_allocator_new() function but when I use
> gst-inspect-1.0 to check, it shows undefined symbol.
> 
> My element is based on GstElement.
> 
> GObject
>  +----GInitiallyUnowned
>        +----GstObject
>              +----GstElement
>                    +----GstMyFilter
> 
> How to add dma buf support on my element?

To use this API, you need to link against gstreamer-allocators-1.0 library (this
is pkg-config name for it).

While the API is always there, having "support" for it requires Linux of course.

> 
> Thanks a lot.
> 
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list