pipewire: fix offset calculation with multiple buffer datas
This commit is contained in:
parent
203b7ddad7
commit
a57126327c
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue