DEBUG: ENTER on CreateBuffer + BeginPicture for frame-1 crash narrowing

This commit is contained in:
2026-05-04 14:43:29 +00:00
parent 92f5b254e6
commit 21ae311077
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -55,6 +55,9 @@ VAStatus RequestCreateBuffer(VADriverContextP context, VAContextID context_id,
VAStatus status; VAStatus status;
VABufferID id; VABufferID id;
request_log("ENTER RequestCreateBuffer(ctx=%u, type=%u, size=%u, count=%u)\n",
context_id, (unsigned)type, size, count);
switch (type) { switch (type) {
case VAPictureParameterBufferType: case VAPictureParameterBufferType:
case VAIQMatrixBufferType: case VAIQMatrixBufferType:
+3
View File
@@ -221,6 +221,9 @@ VAStatus RequestBeginPicture(VADriverContextP context, VAContextID context_id,
struct request_pool_slot *slot; struct request_pool_slot *slot;
int slot_index; int slot_index;
request_log("ENTER RequestBeginPicture(ctx=%u, surf=%u)\n",
context_id, surface_id);
context_object = CONTEXT(driver_data, context_id); context_object = CONTEXT(driver_data, context_id);
if (context_object == NULL) if (context_object == NULL)
return VA_STATUS_ERROR_INVALID_CONTEXT; return VA_STATUS_ERROR_INVALID_CONTEXT;