summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2014-07-05 12:51:55 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-18 02:57:57 +0400
commit93e6a855fff6bbf95486975e193c13faba47775d (patch)
tree2c101a576a2903a6972879d3458b9a477a1f1fc4 /drivers/media
parentcce11b093f8a7f5e689f250d5b219f69a45e5db3 (diff)
downloadlinux-93e6a855fff6bbf95486975e193c13faba47775d.tar.xz
[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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/usb/hdpvr/hdpvr-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/hdpvr/hdpvr-video.c b/drivers/media/usb/hdpvr/hdpvr-video.c
index 4b7653fd4b0b..62f289a1cd57 100644
--- a/drivers/media/usb/hdpvr/hdpvr-video.c
+++ b/drivers/media/usb/hdpvr/hdpvr-video.c
@@ -1028,7 +1028,7 @@ static int vidioc_g_fmt_vid_cap(struct file *file, void *_fh,
f->fmt.pix.field = V4L2_FIELD_INTERLACED;
} else {
/* HDTV formats */
- f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE240M;
+ f->fmt.pix.colorspace = V4L2_COLORSPACE_REC709;
f->fmt.pix.field = V4L2_FIELD_NONE;
}
return 0;