DEBUG: ENTER on CreateBuffer + BeginPicture for frame-1 crash narrowing
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user