diff options
-rw-r--r-- | src/i965_drv_video.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index aca72a85..16ce1e98 100644 --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -995,6 +995,9 @@ i965_get_rc_attributes(VADriverContextP ctx, VAProfile profile, VAEntrypoint ent profile == VAProfileH264High) rc_attribs = VA_RC_CQP; + } else if (entrypoint == VAEntrypointEncPicture) { + if (profile == VAProfileJPEGBaseline) + rc_attribs = VA_RC_CQP; } return rc_attribs; |