mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
builder: make deref safer
Don't try to deref objects that did not fit into the memory. Deref now returns the object
This commit is contained in:
parent
101d2af1be
commit
737b428077
8 changed files with 32 additions and 26 deletions
|
|
@ -247,7 +247,7 @@ pool_activated (GstPipeWirePool *pool, GstPipeWireSink *sink)
|
|||
max_buffers ? max_buffers : INT32_MAX),
|
||||
":", t->param_buffers.align, "i", 16,
|
||||
NULL);
|
||||
port_params[0] = spa_pod_builder_pop_deref (&b);
|
||||
port_params[0] = spa_pod_builder_pop (&b);
|
||||
|
||||
port_params[1] = spa_pod_builder_object (&b,
|
||||
t->param.idMeta, t->param_meta.Meta,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue