add some docs

This commit is contained in:
Wim Taymans 2019-10-25 15:01:27 +02:00
parent 9ffec214b8
commit ebb5ed94a2
6 changed files with 39 additions and 21 deletions

View file

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