diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-02-06 15:00:03 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-05 17:04:56 (GMT) |
commit | a12fd70e3b32a4de5e5dc6346a0f5bdfd164ed3d (patch) | |
tree | 789b53dcf3b7c36142e662a8f2ed805be5607ac5 /drivers/media | |
parent | f58648999347ff44194ff948637e465868acc1e6 (diff) | |
download | linux-a12fd70e3b32a4de5e5dc6346a0f5bdfd164ed3d.tar.xz |
[media] bttv: fill in fb->flags for VIDIOC_G_FBUF
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/pci/bt8xx/bttv-driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/media/pci/bt8xx/bttv-driver.c index dbf18821..cffa8b6 100644 --- 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; |