From: Hans Verkuil Date: Wed, 6 Feb 2013 15:00:03 +0000 (-0300) Subject: [media] bttv: fill in fb->flags for VIDIOC_G_FBUF X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a12fd70e3b32a4de5e5dc6346a0f5bdfd164ed3d;p=deliverable%2Flinux.git [media] bttv: fill in fb->flags for VIDIOC_G_FBUF Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- 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;