gstdmabuf allocator intialization problem

Nicolas Dufresne nicolas at ndufresne.ca
Tue Jan 23 21:23:33 UTC 2018


Le mardi 23 janvier 2018 à 11:01 -0700, gst_starter a écrit :
> I would like to use opencl buffers with gstreamer and I wanted to approach a
> custom allocator/memory class implementation by starting with a very simple
> existing allocator (gstdmabuf). I build a DLL from gstdmabuf.{c;h} which I
> load in a simple test program that looks as follows:

It's not that simple, it's a subclass of GstFdMemory, this is Unix only
code also.

> 
> 
> 
> When I debug into the DLL (using VS2010) I receive an error message from
> gstdmabuf.c in line 
> 
> 
> 
> 
> 
> which i do not understand. I have a valid allocator (not NULL) and an
> allocator name that is assigned to the allocator in gstdmabuf.c:202 ? What
> is missing here?
> 
> In general, I would also like to know what the minimum set of
> funtions/parameters is to define a valid allocator.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180123/c57f2752/attachment.sig>


More information about the gstreamer-devel mailing list