mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
[media] zoran: do not set V4L2_FBUF_FLAG_OVERLAY
The zoran driver does not support this flag, so don't set it. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
05834fcf58
commit
20c9fe895a
@ -1958,7 +1958,6 @@ static int zoran_g_fbuf(struct file *file, void *__fh,
|
|||||||
mutex_unlock(&zr->resource_lock);
|
mutex_unlock(&zr->resource_lock);
|
||||||
fb->fmt.colorspace = V4L2_COLORSPACE_SRGB;
|
fb->fmt.colorspace = V4L2_COLORSPACE_SRGB;
|
||||||
fb->fmt.field = V4L2_FIELD_INTERLACED;
|
fb->fmt.field = V4L2_FIELD_INTERLACED;
|
||||||
fb->flags = V4L2_FBUF_FLAG_OVERLAY;
|
|
||||||
fb->capability = V4L2_FBUF_CAP_LIST_CLIPPING;
|
fb->capability = V4L2_FBUF_CAP_LIST_CLIPPING;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user