From da566c286589aa57475a0db4a33f5efcd5358b21 Mon Sep 17 00:00:00 2001 From: columbarius Date: Thu, 20 May 2021 01:06:25 +0200 Subject: [PATCH] spa: add property flag SPA_POD_PROP_FLAG_MANDATORY This flag is used to announce that the respective key is mandatory and therefore the object containing this key is not suitable to be merged with other objects missing it. --- spa/include/spa/pod/pod.h | 1 + 1 file changed, 1 insertion(+) diff --git a/spa/include/spa/pod/pod.h b/spa/include/spa/pod/pod.h index 963e1db2a..651914571 100644 --- a/spa/include/spa/pod/pod.h +++ b/spa/include/spa/pod/pod.h @@ -201,6 +201,7 @@ struct spa_pod_prop { * Int : n_items, * (String : key, * String : value)*)) */ +#define SPA_POD_PROP_FLAG_MANDATORY (1u<<3) /**< is mandatory */ uint32_t flags; /**< flags for property */ struct spa_pod value; /* value follows */