meta: clarify the meaning of hotspot when no bitmap

This commit is contained in:
Wim Taymans 2019-01-03 17:28:25 +01:00
parent 8984c6f48d
commit ba7b2d8c21

View file

@ -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