Commit a12fd70e authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] bttv: fill in fb->flags for VIDIOC_G_FBUF

Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent f5864899
...@@ -2769,6 +2769,7 @@ static int bttv_g_fbuf(struct file *file, void *f, ...@@ -2769,6 +2769,7 @@ static int bttv_g_fbuf(struct file *file, void *f,
*fb = btv->fbuf; *fb = btv->fbuf;
fb->capability = V4L2_FBUF_CAP_LIST_CLIPPING; fb->capability = V4L2_FBUF_CAP_LIST_CLIPPING;
fb->flags = V4L2_FBUF_FLAG_PRIMARY;
if (fh->ovfmt) if (fh->ovfmt)
fb->fmt.pixelformat = fh->ovfmt->fourcc; fb->fmt.pixelformat = fh->ovfmt->fourcc;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment