diff options
Diffstat (limited to 'src/i965_drv_video.c')
-rw-r--r-- | src/i965_drv_video.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index ca0f462..0a337f4 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); |