Previously packed YUV422 surface were allowed to be renderd but got rendered improperly.
Signed-off-by: Scott D Phillips <[email protected]> --- Changes since v1: - blacklist certain fourcc's instead of all 4:2:2 surfaces src/i965_output_dri.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/i965_output_dri.c b/src/i965_output_dri.c index d36fec5..ae3bcf6 100644 --- a/src/i965_output_dri.c +++ b/src/i965_output_dri.c @@ -135,6 +135,9 @@ i965_put_surface_dri( */ obj_surface = SURFACE(surface); ASSERT_RET(obj_surface && obj_surface->bo, VA_STATUS_SUCCESS); + ASSERT_RET(obj_surface->fourcc != VA_FOURCC_YUY2 && + obj_surface->fourcc != VA_FOURCC_UYVY, + VA_STATUS_ERROR_UNIMPLEMENTED); _i965LockMutex(&i965->render_mutex); -- 2.7.4 _______________________________________________ Libva mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libva
