forked from marfrit/libva-v4l2-request-fourier
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);
|
||||
capture_type = v4l2_type_video_capture(video_format->v4l2_mplane);
|
||||
request_log("CreateContext: mplane=%d output_type=%u capture_type=%u\n",
|
||||
video_format->v4l2_mplane, output_type, capture_type);
|
||||
request_log("CreateContext: ENTER config=%u mplane=%d output_type=%u capture_type=%u surfaces_count=%d flags=0x%x\n",
|
||||
config_id, video_format->v4l2_mplane, output_type,
|
||||
capture_type, surfaces_count, flags);
|
||||
|
||||
config_object = CONFIG(driver_data, config_id);
|
||||
if (config_object == NULL) {
|
||||
@@ -207,6 +208,8 @@ VAStatus RequestCreateContext(VADriverContextP context, VAConfigID config_id,
|
||||
|
||||
*context_id = id;
|
||||
|
||||
request_log("CreateContext: SUCCESS context_id=%u\n", id);
|
||||
|
||||
status = VA_STATUS_SUCCESS;
|
||||
goto complete;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user