Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent f5864899
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;