Skip to content

Commit a468455

Browse files
committed
Always dump binary buffer
Signed-off-by: Yao, Leyu <[email protected]>
1 parent b4870fd commit a468455

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

va/va_trace.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5456,6 +5456,8 @@ static void va_TraceAV1Buf(
54565456
DPY2TRACECTX(dpy, context, VA_INVALID_ID);
54575457

54585458
switch (type) {
5459+
default:
5460+
va_TraceVABuffers(dpy, context, buffer, type, size, num_elements, pbuf);
54595461
case VAPictureParameterBufferType:
54605462
va_TraceVAPictureParameterBufferAV1(dpy, context, buffer, type, size, num_elements, pbuf);
54615463
break;
@@ -5477,9 +5479,7 @@ static void va_TraceAV1Buf(
54775479
case VAEncPackedHeaderParameterBufferType:
54785480
va_TraceVAEncPackedHeaderParameterBufferType(dpy, context, buffer, type, size, num_elements, pbuf);
54795481
break;
5480-
default:
5481-
va_TraceVABuffers(dpy, context, buffer, type, size, num_elements, pbuf);
5482-
break;
5482+
54835483
}
54845484
}
54855485

0 commit comments

Comments
 (0)