mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 01:58:01 +02:00
spa-pod: set the type to regular when creating int spa pod
This commit is contained in:
parent
671d748b4b
commit
1e2dcb44ca
1 changed files with 1 additions and 0 deletions
|
|
@ -459,6 +459,7 @@ wp_spa_pod_new_int (gint value)
|
|||
{
|
||||
WpSpaPod *self = g_slice_new0 (WpSpaPod);
|
||||
g_ref_count_init (&self->ref);
|
||||
self->type = WP_SPA_POD_REGULAR;
|
||||
self->static_pod.pod_int = SPA_POD_INIT_Int (value);
|
||||
self->pod = &self->static_pod.pod_int.pod;
|
||||
return self;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue