mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
client-node: fix buffer data offset
This commit is contained in:
parent
04f3044f1c
commit
adf8bc7804
1 changed files with 1 additions and 1 deletions
|
|
@ -788,7 +788,7 @@ impl_node_port_use_buffers(struct spa_node *node,
|
||||||
memcpy(&b->buffer.metas[j], &buffers[i]->metas[j], sizeof(struct spa_meta));
|
memcpy(&b->buffer.metas[j], &buffers[i]->metas[j], sizeof(struct spa_meta));
|
||||||
b->buffer.n_metas = j;
|
b->buffer.n_metas = j;
|
||||||
|
|
||||||
size = 0;
|
size = buffers[i]->n_datas * sizeof(struct spa_chunk);
|
||||||
for (j = 0; j < buffers[i]->n_datas; j++) {
|
for (j = 0; j < buffers[i]->n_datas; j++) {
|
||||||
struct spa_data *d = &buffers[i]->datas[j];
|
struct spa_data *d = &buffers[i]->datas[j];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue