mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
videoconvert-ffmpeg: copy complete passthrough buffer data
We also need to copy the data type, flags and sizes.
This commit is contained in:
parent
b23161d772
commit
5c5075f4d6
1 changed files with 1 additions and 1 deletions
|
|
@ -1730,11 +1730,11 @@ impl_node_port_use_buffers(void *object,
|
||||||
return -EIO;
|
return -EIO;
|
||||||
|
|
||||||
for (j = 0; j < n_datas; j++) {
|
for (j = 0; j < n_datas; j++) {
|
||||||
|
b->buf->datas[j] = other->buffers[i % other->n_buffers].buf->datas[j];
|
||||||
b->datas[j] = other->buffers[i % other->n_buffers].datas[j];
|
b->datas[j] = other->buffers[i % other->n_buffers].datas[j];
|
||||||
maxsize = SPA_MAX(maxsize, d[j].maxsize);
|
maxsize = SPA_MAX(maxsize, d[j].maxsize);
|
||||||
spa_log_debug(this->log, "buffer %d: mem:%d passthrough:%p maxsize:%d",
|
spa_log_debug(this->log, "buffer %d: mem:%d passthrough:%p maxsize:%d",
|
||||||
i, j, b->datas[j], d[j].maxsize);
|
i, j, b->datas[j], d[j].maxsize);
|
||||||
b->buf->datas[j].data = b->datas[j];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue