fixup! v4l2: Add helper for exporting with dma-buf
This commit is contained in:
+2
-2
@@ -270,8 +270,8 @@ int v4l2_export_buffer(int video_fd, unsigned int type, unsigned int index,
|
|||||||
|
|
||||||
rc = ioctl(video_fd, VIDIOC_EXPBUF, &exportbuffer);
|
rc = ioctl(video_fd, VIDIOC_EXPBUF, &exportbuffer);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
sunxi_cedrus_log("Unable to export buffer: %s\n",
|
request_log("Unable to export buffer: %s\n",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user