pod: add a HINT_DICT flag

We can use this to mark the ROUTE_info property and hopefully improve
the debugging output later.
This commit is contained in:
Wim Taymans 2020-12-18 16:40:35 +01:00
parent 9fb1b02352
commit c3973fd9ec
2 changed files with 6 additions and 1 deletions

View file

@ -196,6 +196,11 @@ struct spa_pod_prop {
* object type */
#define SPA_POD_PROP_FLAG_READONLY (1u<<0) /**< is read-only */
#define SPA_POD_PROP_FLAG_HARDWARE (1u<<1) /**< some sort of hardware parameter */
#define SPA_POD_PROP_FLAG_HINT_DICT (1u<<2) /**< contains a dictionary struct as
* (Struct(
* Int : n_items,
* (String : key,
* String : value)*)) */
uint32_t flags; /**< flags for property */
struct spa_pod value;
/* value follows */