Commit 1e2dcb44 authored by Julian Bouzas's avatar Julian Bouzas
Browse files

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

parent 671d748b
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment