[media] hdpvr: fix reported HDTV colorspace
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 5 Jul 2014 08:51:55 +0000 (05:51 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 22:57:57 +0000 (19:57 -0300)
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>
drivers/media/usb/hdpvr/hdpvr-video.c

index 4b7653fd4b0bf29d01061de1957b09e7db4d9a92..62f289a1cd578ba7d4c4cfa848acd403f9937406 100644 (file)
@@ -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;