Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331135
b: refs/heads/master
c: 4703d35
h: refs/heads/master
i:
  331133: a8abfdd
  331131: 9aea111
  331127: 1a34d94
  331119: 59927e6
  331103: 87b0a10
  331071: aad044f
  331007: 52eba67
v: v3
  • Loading branch information
Sylwester Nawrocki authored and Mauro Carvalho Chehab committed Sep 26, 2012
1 parent 8a85510 commit 15c8905
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e18404adac2e8396335eb8e4cb380f619186042
refs/heads/master: 4703d356e7890764c05328cc543d6507f132dfe6
9 changes: 7 additions & 2 deletions trunk/drivers/media/platform/m2m-deinterlace.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,13 @@ static int vidioc_querycap(struct file *file, void *priv,
strlcpy(cap->driver, MEM2MEM_NAME, sizeof(cap->driver));
strlcpy(cap->card, MEM2MEM_NAME, sizeof(cap->card));
strlcpy(cap->bus_info, MEM2MEM_NAME, sizeof(cap->card));
cap->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OUTPUT
| V4L2_CAP_STREAMING;
/*
* This is only a mem-to-mem video device. The capture and output
* device capability flags are left only for backward compatibility
* and are scheduled for removal.
*/
cap->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OUTPUT |
V4L2_CAP_VIDEO_M2M | V4L2_CAP_STREAMING;
cap->capabilities = cap->device_caps | V4L2_CAP_DEVICE_CAPS;

return 0;
Expand Down

0 comments on commit 15c8905

Please sign in to comment.