forked from marfrit/libva-v4l2-request-fourier
fixup! v4l2: Add helper for exporting with dma-buf
This commit is contained in:
+1
-1
@@ -270,7 +270,7 @@ 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