mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-29 06:46:38 -04:00
module-rtp: set the EMPTY flag on empty buffers
And make sure other flags are reset.
This commit is contained in:
parent
70aaec0ac4
commit
47ee9ef10a
3 changed files with 9 additions and 4 deletions
|
|
@ -83,9 +83,10 @@ complete:
|
|||
pw_log_warn("overflow buffer %u %u", b.state.offset, maxsize);
|
||||
b.state.offset = 0;
|
||||
}
|
||||
d[0].chunk->offset = 0;
|
||||
d[0].chunk->size = b.state.offset;
|
||||
d[0].chunk->stride = 1;
|
||||
d[0].chunk->offset = 0;
|
||||
d[0].chunk->flags = 0;
|
||||
done:
|
||||
pw_stream_queue_buffer(impl->stream, buf);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue