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.
This commit is contained in:
columbarius 2021-05-20 01:06:25 +02:00 committed by Wim Taymans
parent 39a2636c9b
commit da566c2865

View file

@ -201,6 +201,7 @@ struct spa_pod_prop {
* Int : n_items, * Int : n_items,
* (String : key, * (String : key,
* String : value)*)) */ * String : value)*)) */
#define SPA_POD_PROP_FLAG_MANDATORY (1u<<3) /**< is mandatory */
uint32_t flags; /**< flags for property */ uint32_t flags; /**< flags for property */
struct spa_pod value; struct spa_pod value;
/* value follows */ /* value follows */