diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2016-06-07 08:56:41 -0400 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2016-06-07 12:19:41 +0800 |
commit | 538d6c9ff827a0fb13ec3e22959b2b7bbd79ea5a (patch) | |
tree | b3e5b58332f720d538541e17bcd356abca6974d7 | |
parent | e656d84dc512dc899dda4b9a8121b48f5148fc4b (diff) |
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 <yakui.zhao@intel.com>
-rw-r--r-- | src/i965_drv_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |