undefined symbol: gst_dmabuf_allocator_new

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

undefined symbol: gst_dmabuf_allocator_new

GStreamer-devel mailing list
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?

Thanks a lot.




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: undefined symbol: gst_dmabuf_allocator_new

GStreamer-devel mailing list
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
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel