mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
add some docs
This commit is contained in:
parent
9ffec214b8
commit
ebb5ed94a2
6 changed files with 39 additions and 21 deletions
|
|
@ -387,7 +387,7 @@ static int do_render(struct spa_loop *loop, bool async, uint32_t seq,
|
|||
}
|
||||
|
||||
if ((m = spa_buffer_find_meta(buf, SPA_META_VideoDamage))) {
|
||||
spa_meta_region_for_each(r, m) {
|
||||
spa_meta_for_each(r, m) {
|
||||
if (!spa_meta_region_is_valid(r))
|
||||
break;
|
||||
if (memcmp(&r->region, &d->region, sizeof(struct spa_region)) == 0)
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ const struct type_info {
|
|||
{ "Spa:Enum:ParamId:Meta", SPA_TYPE_INFO_PARAM_ID_BASE "Meta", SPA_PARAM_Meta, },
|
||||
{ "Spa:Pointer:Meta:Header", SPA_TYPE_INFO_META_BASE "Header", SPA_META_Header, },
|
||||
{ "Spa:Pointer:Meta:VideoCrop", SPA_TYPE_INFO_META_REGION_BASE "VideoCrop", SPA_META_VideoCrop, },
|
||||
{ "Spa:Pointer:Meta:VideoDamage", SPA_TYPE_INFO_META_REGION_ARRAY_BASE "VideoDamage", SPA_META_VideoDamage, },
|
||||
{ "Spa:Pointer:Meta:VideoDamage", SPA_TYPE_INFO_META_ARRAY_REGION_BASE "VideoDamage", SPA_META_VideoDamage, },
|
||||
{ "Spa:Pointer:Meta:Bitmap", SPA_TYPE_INFO_META_BASE "Bitmap", SPA_META_Bitmap, },
|
||||
{ "Spa:Pointer:Meta:Cursor", SPA_TYPE_INFO_META_BASE "Cursor", SPA_META_Cursor, },
|
||||
{ "Spa:Enum:DataType:MemPtr", SPA_TYPE_INFO_DATA_BASE "MemPtr", SPA_DATA_MemPtr, },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue