WIP: log surfaces_count + flags + SUCCESS marker in CreateContext
This commit is contained in:
+5
-2
@@ -79,8 +79,9 @@ VAStatus RequestCreateContext(VADriverContextP context, VAConfigID config_id,
|
|||||||
|
|
||||||
output_type = v4l2_type_video_output(video_format->v4l2_mplane);
|
output_type = v4l2_type_video_output(video_format->v4l2_mplane);
|
||||||
capture_type = v4l2_type_video_capture(video_format->v4l2_mplane);
|
capture_type = v4l2_type_video_capture(video_format->v4l2_mplane);
|
||||||
request_log("CreateContext: mplane=%d output_type=%u capture_type=%u\n",
|
request_log("CreateContext: ENTER config=%u mplane=%d output_type=%u capture_type=%u surfaces_count=%d flags=0x%x\n",
|
||||||
video_format->v4l2_mplane, output_type, capture_type);
|
config_id, video_format->v4l2_mplane, output_type,
|
||||||
|
capture_type, surfaces_count, flags);
|
||||||
|
|
||||||
config_object = CONFIG(driver_data, config_id);
|
config_object = CONFIG(driver_data, config_id);
|
||||||
if (config_object == NULL) {
|
if (config_object == NULL) {
|
||||||
@@ -207,6 +208,8 @@ VAStatus RequestCreateContext(VADriverContextP context, VAConfigID config_id,
|
|||||||
|
|
||||||
*context_id = id;
|
*context_id = id;
|
||||||
|
|
||||||
|
request_log("CreateContext: SUCCESS context_id=%u\n", id);
|
||||||
|
|
||||||
status = VA_STATUS_SUCCESS;
|
status = VA_STATUS_SUCCESS;
|
||||||
goto complete;
|
goto complete;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user