diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-02-06 12:00:03 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-05 14:04:56 -0300 |
commit | a12fd70e3b32a4de5e5dc6346a0f5bdfd164ed3d (patch) | |
tree | 789b53dcf3b7c36142e662a8f2ed805be5607ac5 /drivers/media/pci/bt8xx | |
parent | f58648999347ff44194ff948637e465868acc1e6 (diff) | |
download | linux-a12fd70e3b32a4de5e5dc6346a0f5bdfd164ed3d.tar.bz2 |
[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/pci/bt8xx')
-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 dbf1882147c7..cffa8b6683ea 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; |