mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
libs: window: wayland: handle more VAStatus to use vpp
Since the commit landed https://github.com/01org/intel-vaapi-driver/pull/55, we should consider more returned VAStatus to use vpp. https://bugzilla.gnome.org/show_bug.cgi?id=779400
This commit is contained in:
parent
6468bf2ddf
commit
c4ef779931
1 changed files with 3 additions and 1 deletions
|
@ -495,7 +495,9 @@ gst_vaapi_window_wayland_render (GstVaapiWindow * window,
|
|||
GST_VAAPI_OBJECT_ID (surface),
|
||||
va_flags & (VA_TOP_FIELD | VA_BOTTOM_FIELD), &buffer);
|
||||
GST_VAAPI_OBJECT_UNLOCK_DISPLAY (window);
|
||||
if (status == VA_STATUS_ERROR_FLAG_NOT_SUPPORTED)
|
||||
if (status == VA_STATUS_ERROR_FLAG_NOT_SUPPORTED ||
|
||||
status == VA_STATUS_ERROR_UNIMPLEMENTED ||
|
||||
status == VA_STATUS_ERROR_INVALID_IMAGE_FORMAT)
|
||||
need_vpp = TRUE;
|
||||
else if (!vaapi_check_status (status, "vaGetSurfaceBufferWl()"))
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue