mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
stream: don't reset flags
Or else we lose the MAPPED flag and we don't unmap (not that it's a problem because it gets unmapped when we close the fd).
This commit is contained in:
parent
9c631842cb
commit
8ecae0785b
2 changed files with 0 additions and 4 deletions
|
|
@ -697,8 +697,6 @@ static int impl_port_use_buffers(void *object,
|
|||
for (i = 0; i < n_buffers; i++) {
|
||||
struct buffer *b = &port->buffers[i];
|
||||
|
||||
b->flags = 0;
|
||||
b->id = i;
|
||||
b->this.buffer = buffers[i];
|
||||
|
||||
if (port->direction == SPA_DIRECTION_OUTPUT) {
|
||||
|
|
|
|||
|
|
@ -689,8 +689,6 @@ static int impl_port_use_buffers(void *object,
|
|||
for (i = 0; i < n_buffers; i++) {
|
||||
struct buffer *b = &impl->buffers[i];
|
||||
|
||||
b->flags = 0;
|
||||
b->id = i;
|
||||
b->this.buffer = buffers[i];
|
||||
|
||||
if (impl->direction == SPA_DIRECTION_OUTPUT) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue