type: add missing type-info for MemId

This commit is contained in:
Wim Taymans 2019-10-08 22:30:00 +02:00
parent 5693d72fcb
commit 9aadc753c0
2 changed files with 2 additions and 1 deletions

View file

@ -49,6 +49,7 @@ static const struct spa_type_info spa_type_data_type[] = {
{ SPA_DATA_MemPtr, SPA_TYPE_Int, SPA_TYPE_INFO_DATA_BASE "MemPtr", NULL }, { SPA_DATA_MemPtr, SPA_TYPE_Int, SPA_TYPE_INFO_DATA_BASE "MemPtr", NULL },
{ SPA_DATA_MemFd, SPA_TYPE_Int, SPA_TYPE_INFO_DATA_FD_BASE "MemFd", NULL }, { SPA_DATA_MemFd, SPA_TYPE_Int, SPA_TYPE_INFO_DATA_FD_BASE "MemFd", NULL },
{ SPA_DATA_DmaBuf, SPA_TYPE_Int, SPA_TYPE_INFO_DATA_FD_BASE "DmaBuf", NULL }, { SPA_DATA_DmaBuf, SPA_TYPE_Int, SPA_TYPE_INFO_DATA_FD_BASE "DmaBuf", NULL },
{ SPA_DATA_MemId, SPA_TYPE_Int, SPA_TYPE_INFO_DATA_BASE "MemId", NULL },
{ 0, 0, NULL, NULL }, { 0, 0, NULL, NULL },
}; };

View file

@ -166,7 +166,7 @@ struct spa_pod_struct {
struct spa_pod_object_body { struct spa_pod_object_body {
uint32_t type; /**< one of enum spa_type */ uint32_t type; /**< one of enum spa_type */
uint32_t id; /**< id of the object, depends on the object type */ uint32_t id; /**< id of the object, depends on the object type */
/* contents follow, series of spa_pod */ /* contents follow, series of spa_pod_prop */
}; };
struct spa_pod_object { struct spa_pod_object {