projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a652ef6
)
[media] bttv: fill in colorspace
author
Hans Verkuil
<hans.verkuil@cisco.com>
Wed, 6 Feb 2013 14:58:59 +0000
(11:58 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 5 Mar 2013 17:03:44 +0000
(14:03 -0300)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/bt8xx/bttv-driver.c
patch
|
blob
|
history
diff --git
a/drivers/media/pci/bt8xx/bttv-driver.c
b/drivers/media/pci/bt8xx/bttv-driver.c
index fb8ec0a67d140257a8af78dc81af3a3c2e9b4311..dbf1882147c7950357364597f7335349b9098995 100644
(file)
--- a/
drivers/media/pci/bt8xx/bttv-driver.c
+++ b/
drivers/media/pci/bt8xx/bttv-driver.c
@@
-2506,6
+2506,7
@@
static int bttv_g_fmt_vid_cap(struct file *file, void *priv,
fh->width, fh->height);
f->fmt.pix.field = fh->cap.field;
f->fmt.pix.pixelformat = fh->fmt->fourcc;
+ f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M;
return 0;
}
@@
-2577,6
+2578,7
@@
static int bttv_try_fmt_vid_cap(struct file *file, void *priv,
/* update data for the application */
f->fmt.pix.field = field;
pix_format_set_size(&f->fmt.pix, fmt, width, height);
+ f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M;
return 0;
}