From 4c33e3c090a24fef1fb7fe2e8f801240b10befe3 Mon Sep 17 00:00:00 2001 From: Austin Yuan Date: Wed, 8 May 2013 14:52:38 +0800 Subject: [PATCH] vatrace: refine VAEncPackedHeaderParameterBufferType format Change-Id: I1794a9c09a88b61d7abce970d7cb9a8f101162c6 Signed-off-by: Austin Yuan (cherry picked from commit 4853e4a3a6cc5218e032a19d729096862db82bc6) --- va/va_trace.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/va/va_trace.c b/va/va_trace.c index 3587350..7ad67fe 100644 --- a/va/va_trace.c +++ b/va/va_trace.c @@ -1602,9 +1602,9 @@ static void va_TraceVAEncPackedHeaderParameterBufferType( if (!p) return; va_TraceMsg(idx, "VAEncPackedHeaderParameterBuffer\n"); - va_TraceMsg(idx, "\ttype=%d = %d\n", p->type); + va_TraceMsg(idx, "\ttype = 0x%08x\n", p->type); va_TraceMsg(idx, "\tbit_length = %d\n", p->bit_length); - va_TraceMsg(idx, "\thas_emulation_bytes = %d = %d\n", p->has_emulation_bytes); + va_TraceMsg(idx, "\thas_emulation_bytes = %d\n", p->has_emulation_bytes); va_TraceMsg(idx, NULL); return; @@ -2237,6 +2237,10 @@ static void va_TraceH264Buf( else va_TraceVAEncSliceParameterBufferH264(dpy, context, buffer, type, size, num_elements, pbuf); break; + case VAEncPackedHeaderParameterBufferType: + va_TraceVAEncPackedHeaderParameterBufferType(dpy, context, buffer, type, size, num_elements, pbuf); + break; + case VAEncMiscParameterBufferType: va_TraceVAEncMiscParameterBuffer(dpy, context, buffer, type, size, num_elements, pbuf); break; -- 2.7.4