mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
amlvideo2: fix screen capture funciton
PD#145804: fix screen capture function Change-Id: Icb857a889b53d74cfc85072cc88464fb46d283b3 Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com>
This commit is contained in:
committed by
Jianxin Pan
parent
c924fd661a
commit
2b9b8a4012
@@ -4420,7 +4420,9 @@ static int vidioc_querycap(struct file *file, void *priv,
|
||||
node->vid_dev->v4l2_dev.name,
|
||||
sizeof(cap->bus_info));
|
||||
cap->version = AMLVIDEO2_VERSION;
|
||||
cap->capabilities = V4L2_CAP_VIDEO_CAPTURE
|
||||
cap->device_caps = V4L2_CAP_VIDEO_CAPTURE;
|
||||
cap->capabilities = cap->device_caps
|
||||
|V4L2_CAP_DEVICE_CAPS
|
||||
|V4L2_CAP_STREAMING
|
||||
| V4L2_CAP_READWRITE;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user