Applied.

Thanks
Haihao

> From: Zhao Yakui <[email protected]>
> 
> Fix the issue that VP9 HW encoding is reported incorrectly for VP9
> Profile2.
> 
> Signed-off-by: Zhao Yakui <[email protected]>
> ---
>  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) {
_______________________________________________
Libva mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to