Rename request_buffer helper to query_buffer
Since the V4L2 ioctl is called QUERYBUF, it makes more sense to call the associated function with the same name. Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
+3
-3
@@ -129,9 +129,9 @@ VAStatus RequestCreateContext(VADriverContextP context, VAConfigID config_id,
|
||||
goto error;
|
||||
}
|
||||
|
||||
rc = v4l2_request_buffer(driver_data->video_fd,
|
||||
V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE, i,
|
||||
&length, &offset, 1);
|
||||
rc = v4l2_query_buffer(driver_data->video_fd,
|
||||
V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE, i,
|
||||
&length, &offset, 1);
|
||||
if (rc < 0) {
|
||||
status = VA_STATUS_ERROR_ALLOCATION_FAILED;
|
||||
goto error;
|
||||
|
||||
Reference in New Issue
Block a user