mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
va: Lower the message level for va_export_surface_to_dmabuf()
Some surface formats such as GST_VIDEO_FORMAT_Y42B and GST_VIDEO_FORMAT_RGB can be created but can not be exported as DMA buffer. You can not say that this is a driver bug because the driver may never want to share this kind of surface out of libva. And this function will be used to detect modifiers later, so the error message will be annoying. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4821>
This commit is contained in:
parent
7166fd3863
commit
a01f2f0206
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ va_export_surface_to_dmabuf (GstVaDisplay * display, VASurfaceID surface,
|
|||
status = vaExportSurfaceHandle (dpy, surface,
|
||||
VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME_2, flags, desc);
|
||||
if (status != VA_STATUS_SUCCESS) {
|
||||
GST_ERROR ("vaExportSurfaceHandle: %s", vaErrorStr (status));
|
||||
GST_INFO ("vaExportSurfaceHandle: %s", vaErrorStr (status));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue