mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 15:51:40 -04:00
[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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
f586489993
commit
a12fd70e3b
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user