From 538d6c9ff827a0fb13ec3e22959b2b7bbd79ea5a Mon Sep 17 00:00:00 2001 From: Zhao Yakui Date: Tue, 7 Jun 2016 08:56:41 -0400 Subject: Restrict the VP9 HW encoding for Profile0 Fix the issue that VP9 HW encoding is reported incorrectly for VP9 Profile2. Signed-off-by: Zhao Yakui --- src/i965_drv_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index cbfc081..efac5a5 100644 --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -735,7 +735,7 @@ i965_QueryConfigEntrypoints(VADriverContextP ctx, if(HAS_VP9_DECODING_PROFILE(i965, profile)) entrypoint_list[n++] = VAEntrypointVLD; - if (HAS_VP9_ENCODING(i965)) + if (HAS_VP9_ENCODING(i965) && (profile == VAProfileVP9Profile0)) entrypoint_list[n++] = VAEntrypointEncSlice; if(profile == VAProfileVP9Profile0) { -- cgit v1.2.3