projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cce11b0
)
[media] hdpvr: fix reported HDTV colorspace
author
Hans Verkuil
<hverkuil@xs4all.nl>
Sat, 5 Jul 2014 08:51:55 +0000
(
05:51
-0300)
committer
Mauro 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
patch
|
blob
|
history
diff --git
a/drivers/media/usb/hdpvr/hdpvr-video.c
b/drivers/media/usb/hdpvr/hdpvr-video.c
index
4b7653f
..
62f289a
100644
(file)
--- 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;