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; + } }