[media] hdpvr: fix reported HDTV colorspace
The colorspace for HDTV is REC709, not SMPTE240M. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
Родитель
cce11b093f
Коммит
93e6a855ff
|
@ -1028,7 +1028,7 @@ static int vidioc_g_fmt_vid_cap(struct file *file, void *_fh,
|
||||||
f->fmt.pix.field = V4L2_FIELD_INTERLACED;
|
f->fmt.pix.field = V4L2_FIELD_INTERLACED;
|
||||||
} else {
|
} else {
|
||||||
/* HDTV formats */
|
/* HDTV formats */
|
||||||
f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE240M;
|
f->fmt.pix.colorspace = V4L2_COLORSPACE_REC709;
|
||||||
f->fmt.pix.field = V4L2_FIELD_NONE;
|
f->fmt.pix.field = V4L2_FIELD_NONE;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче