pipewiresrc: use the right allocator for dmabuf

Use the dmabuf allocator when we get dmabuf memory.
https://github.com/PipeWire/pipewire/issues/31
This commit is contained in:
Wim Taymans 2018-02-08 12:24:23 +01:00
parent 21e3b4cec7
commit d841e0f778
2 changed files with 11 additions and 1 deletions

View file

@ -77,6 +77,7 @@ struct _GstPipeWireSrc {
struct spa_hook stream_listener;
GstAllocator *fd_allocator;
GstAllocator *dmabuf_allocator;
GstStructure *properties;
GHashTable *buf_ids;