projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f586489
)
[media] bttv: fill in fb->flags for VIDIOC_G_FBUF
author
Hans Verkuil
<hans.verkuil@cisco.com>
Wed, 6 Feb 2013 15:00:03 +0000
(12:00 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 5 Mar 2013 17:04:56 +0000
(14:04 -0300)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/bt8xx/bttv-driver.c
patch
|
blob
|
history
diff --git
a/drivers/media/pci/bt8xx/bttv-driver.c
b/drivers/media/pci/bt8xx/bttv-driver.c
index
dbf1882
..
cffa8b6
100644
(file)
--- a/
drivers/media/pci/bt8xx/bttv-driver.c
+++ b/
drivers/media/pci/bt8xx/bttv-driver.c
@@
-2769,6
+2769,7
@@
static int bttv_g_fbuf(struct file *file, void *f,
*fb = btv->fbuf;
fb->capability = V4L2_FBUF_CAP_LIST_CLIPPING;
+ fb->flags = V4L2_FBUF_FLAG_PRIMARY;
if (fh->ovfmt)
fb->fmt.pixelformat = fh->ovfmt->fourcc;
return 0;