From 2f82661966291814252d0231246128dea2071a19 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 30 Nov 2021 17:40:56 +0100 Subject: [PATCH] spa: add description to PropInfo --- spa/include/spa/param/props.h | 1 + spa/include/spa/param/type-info.h | 1 + 2 files changed, 2 insertions(+) diff --git a/spa/include/spa/param/props.h b/spa/include/spa/param/props.h index 3f470a986..3f57bdeb6 100644 --- a/spa/include/spa/param/props.h +++ b/spa/include/spa/param/props.h @@ -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 */ diff --git a/spa/include/spa/param/type-info.h b/spa/include/spa/param/type-info.h index 490d5d683..55a03124e 100644 --- a/spa/include/spa/param/type-info.h +++ b/spa/include/spa/param/type-info.h @@ -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 }, };