From a468455e584250460d99dccbea705727f9899ecd Mon Sep 17 00:00:00 2001 From: "Yao, Leyu" Date: Fri, 27 Oct 2023 15:18:03 +0800 Subject: [PATCH] Always dump binary buffer Signed-off-by: Yao, Leyu --- va/va_trace.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/va/va_trace.c b/va/va_trace.c index 9ad36b405..593cc98e5 100644 --- a/va/va_trace.c +++ b/va/va_trace.c @@ -5456,6 +5456,8 @@ static void va_TraceAV1Buf( DPY2TRACECTX(dpy, context, VA_INVALID_ID); switch (type) { + default: + va_TraceVABuffers(dpy, context, buffer, type, size, num_elements, pbuf); case VAPictureParameterBufferType: va_TraceVAPictureParameterBufferAV1(dpy, context, buffer, type, size, num_elements, pbuf); break; @@ -5477,9 +5479,7 @@ static void va_TraceAV1Buf( case VAEncPackedHeaderParameterBufferType: va_TraceVAEncPackedHeaderParameterBufferType(dpy, context, buffer, type, size, num_elements, pbuf); break; - default: - va_TraceVABuffers(dpy, context, buffer, type, size, num_elements, pbuf); - break; + } }