OSDN Git Service

VP8 encoder can support VBR method since using the new media kernel
authorXiang, Haihao <haihao.xiang@intel.com>
Fri, 12 May 2017 02:01:25 +0000 (10:01 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 12 May 2017 03:57:04 +0000 (11:57 +0800)
This fixes https://github.com/01org/intel-vaapi-driver/issues/164

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_drv_video.c

index 89b0ac5..b8d73d4 100644 (file)
@@ -973,7 +973,8 @@ i965_GetConfigAttributes(VADriverContextP ctx,
                     profile != VAProfileMPEG2Simple)
                     attrib_list[i].value |= VA_RC_CBR;
 
-                if (profile == VAProfileVP9Profile0 ||
+                if (profile == VAProfileVP8Version0_3 ||
+                    profile == VAProfileVP9Profile0 ||
                     profile == VAProfileH264ConstrainedBaseline ||
                     profile == VAProfileH264Main ||
                     profile == VAProfileH264High ||