From 9823a1dd56c788599618a677db7e66b391b60d7d Mon Sep 17 00:00:00 2001 From: Austin Yuan Date: Fri, 10 May 2013 16:51:33 +0800 Subject: h264encode: print correct number of RefPicList0/1 Signed-off-by: Austin Yuan --- test/encode/h264encode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3