1
0
Fork 0
forked from wry/wry

pipewire: fix offset calculation with multiple buffer datas

This commit is contained in:
Julian Orth 2024-09-02 21:06:22 +02:00
parent 203b7ddad7
commit a57126327c

View file

@ -663,6 +663,7 @@ impl PwClientNode {
let maxsize = p1.read_uint()?;
chunks.push(mem.typed_at(offset));
offset += size_of::<spa_chunk>();
if !buffer_flags.contains(SPA_NODE_BUFFERS_FLAG_ALLOC) {
if ty == SPA_DATA_MemPtr {