From ba7b2d8c21a1807e9422778d478e9ec21f819a3a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 3 Jan 2019 17:28:25 +0100 Subject: [PATCH] meta: clarify the meaning of hotspot when no bitmap --- spa/include/spa/buffer/meta.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spa/include/spa/buffer/meta.h b/spa/include/spa/buffer/meta.h index e75fe2420..5f1518e03 100644 --- a/spa/include/spa/buffer/meta.h +++ b/spa/include/spa/buffer/meta.h @@ -124,7 +124,8 @@ struct spa_meta_cursor { * there is no new cursor data */ uint32_t flags; /**< extra flags */ struct spa_point position; /**< position on screen */ - struct spa_point hotspot; /**< offsets for hotspot in bitmap */ + struct spa_point hotspot; /**< offsets for hotspot in bitmap, this field has no meaning + * when there is no valid bitmap (see below) */ uint32_t bitmap_offset; /**< offset of bitmap meta in this structure. When the offset * is 0, there is no new bitmap information. When the offset is * >= sizeof(struct spa_meta_cursor) there is a