mirror of https://gitee.com/openkylin/linux.git
[media] vivi: zero fmt.pix.priv as per spec
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
77747f7960
commit
2f65f467b4
|
@ -965,6 +965,7 @@ static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
|
|||
f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M;
|
||||
else
|
||||
f->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB;
|
||||
f->fmt.pix.priv = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue