From a01e1836bc4c1390816029489e6e978472e325be Mon Sep 17 00:00:00 2001 From: Zhao Yakui Date: Tue, 25 Aug 2015 13:35:21 +0800 Subject: [PATCH] Decoding: Export the attribute of slice mode for decoding Signed-off-by: Zhao Yakui Reviewed-by: Xiang Haihao (cherry picked from commit 29f4234504fd99299997a3fc2f01393fb77030b7) --- src/i965_drv_video.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index 7a7754f..e14b74b 100644 --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -786,6 +786,10 @@ i965_GetConfigAttributes(VADriverContextP ctx, } break; + case VAConfigAttribDecSliceMode: + attrib_list[i].value = VA_DEC_SLICE_MODE_NORMAL; + break; + default: /* Do nothing */ attrib_list[i].value = VA_ATTRIB_NOT_SUPPORTED; -- 2.11.0