mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-14 06:59:57 -05:00
gst: keep track of queued buffers
Pipewire might update buffers that have not been recycled by GStreamer, because they are still used downstream. There is nothing we can do about it in the pipewiresrc. If a buffer is sent downstream more than once, take an additional reference to make sure that we don't queue a buffer that is still used and print a warning.
This commit is contained in:
parent
8adc4ad3b6
commit
52c14e2378
2 changed files with 8 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ struct _GstPipeWirePoolData {
|
|||
goffset offset;
|
||||
struct pw_buffer *b;
|
||||
GstBuffer *buf;
|
||||
gboolean queued;
|
||||
};
|
||||
|
||||
struct _GstPipeWirePool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue