mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-15 07:00:05 -05:00
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:
parent
39a2636c9b
commit
da566c2865
1 changed files with 1 additions and 0 deletions
|
|
@ -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 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue