mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:56:14 +00:00
vaallocator: Check return value from va_sync_surface
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4007>
This commit is contained in:
parent
fbab40bd5e
commit
5a69676166
1 changed files with 2 additions and 1 deletions
|
@ -414,7 +414,8 @@ gst_va_dmabuf_mem_map (GstMemory * gmem, gsize maxsize, GstMapFlags flags)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
va_sync_surface (self->display, surface);
|
if (!va_sync_surface (self->display, surface))
|
||||||
|
return NULL;
|
||||||
|
|
||||||
return self->parent_map (gmem, maxsize, flags);
|
return self->parent_map (gmem, maxsize, flags);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue