Signed-off-by: Zhao Yakui <[email protected]>
Reviewed-by: Sean V Kelley <[email protected]>
---
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 77fe9c7..17941cb 100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -959,6 +959,10 @@ i965_GetConfigAttributes(VADriverContextP ctx,
if (profile != VAProfileMPEG2Main &&
profile != VAProfileMPEG2Simple)
attrib_list[i].value |= VA_RC_CBR;
+
+ if (profile == VAProfileVP9Profile0)
+ attrib_list[i].value |= VA_RC_VBR;
+
break;
} else if (entrypoint == VAEntrypointEncSliceLP) {
struct i965_driver_data * const i965 = i965_driver_data(ctx);
--
1.8.2.1
_______________________________________________
Libva mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libva