spa-pod: set the type to regular when creating int spa pod

This commit is contained in:
Julian Bouzas 2020-06-03 14:31:35 -04:00
parent 671d748b4b
commit 1e2dcb44ca

View file

@ -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;