spa: add description to PropInfo

This commit is contained in:
Wim Taymans 2021-11-30 17:40:56 +01:00
parent f894a51eab
commit 2f82661966
2 changed files with 2 additions and 0 deletions

View file

@ -49,6 +49,7 @@ enum spa_prop_info {
* for the value. */
SPA_PROP_INFO_container, /**< type of container if any (Id) */
SPA_PROP_INFO_params, /**< is part of params property (Bool) */
SPA_PROP_INFO_description, /**< User readable description */
};
/** predefined properties for SPA_TYPE_OBJECT_Props */

View file

@ -161,6 +161,7 @@ static const struct spa_type_info spa_type_prop_info[] = {
{ SPA_PROP_INFO_labels, SPA_TYPE_Struct, SPA_TYPE_INFO_PROP_INFO_BASE "labels", NULL },
{ SPA_PROP_INFO_container, SPA_TYPE_Id, SPA_TYPE_INFO_PROP_INFO_BASE "container", NULL },
{ SPA_PROP_INFO_params, SPA_TYPE_Bool, SPA_TYPE_INFO_PROP_INFO_BASE "params", NULL },
{ SPA_PROP_INFO_description, SPA_TYPE_String, SPA_TYPE_INFO_PROP_INFO_BASE "description", NULL },
{ 0, 0, NULL, NULL },
};