mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pinossink: track the fd indices we sent
Track the fd indices we sent to Pinos and free the associated buffer when Pinos sends us release-fd. Only do this for non tempfile fds, as we made the tmpfile ones ourselves and we're not going to reuse them.
This commit is contained in:
parent
4322ddaf0f
commit
b6f10f508d
3 changed files with 49 additions and 7 deletions
|
|
@ -62,6 +62,9 @@ struct _GstPinosSink {
|
|||
PinosContext *ctx;
|
||||
PinosStream *stream;
|
||||
GstAllocator *allocator;
|
||||
|
||||
guint32 id_counter;
|
||||
GHashTable *fdids;
|
||||
};
|
||||
|
||||
struct _GstPinosSinkClass {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue