vaallocator: Check return value from va_sync_surface
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3919>
This commit is contained in:
parent
735b6af5b9
commit
7278c31ea8
@ -414,7 +414,8 @@ gst_va_dmabuf_mem_map (GstMemory * gmem, gsize maxsize, GstMapFlags flags)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
va_sync_surface (self->display, surface);
|
||||
if (!va_sync_surface (self->display, surface))
|
||||
return NULL;
|
||||
|
||||
return self->parent_map (gmem, maxsize, flags);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user