diff options
author | Austin Yuan <shengquan.yuan@intel.com> | 2013-05-10 16:51:33 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-06-25 13:53:58 +0800 |
commit | 9823a1dd56c788599618a677db7e66b391b60d7d (patch) | |
tree | df712462a8f7eede70a4f9d6dcbad5ee051956aa | |
parent | 3556fa0e80c339e0f1ec0399a0c550b50a0c6949 (diff) |
h264encode: print correct number of RefPicList0/1
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
-rw-r--r-- | test/encode/h264encode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/encode/h264encode.c b/test/encode/h264encode.c index 7365008..6a85aba 100644 --- a/test/encode/h264encode.c +++ b/test/encode/h264encode.c @@ -1025,7 +1025,8 @@ static int init_va(void) if (attrib[VAConfigAttribEncMaxRefFrames].value != VA_ATTRIB_NOT_SUPPORTED) { h264_maxref = attrib[VAConfigAttribEncMaxRefFrames].value; - printf("Support %d reference frames\n", h264_maxref); + printf("Support %d RefPicList0 and %d RefPicList1\n", + h264_maxref & 0xffff, (h264_maxref >> 16) & 0xffff ); } if (attrib[VAConfigAttribEncMaxSlices].value != VA_ATTRIB_NOT_SUPPORTED) |