mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
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:
parent
21e3b4cec7
commit
d841e0f778
2 changed files with 11 additions and 1 deletions
|
|
@ -77,6 +77,7 @@ struct _GstPipeWireSrc {
|
|||
struct spa_hook stream_listener;
|
||||
|
||||
GstAllocator *fd_allocator;
|
||||
GstAllocator *dmabuf_allocator;
|
||||
GstStructure *properties;
|
||||
|
||||
GHashTable *buf_ids;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue