From 6f6639afe0c305033d1b38554cef0ca0e12c8811 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Tue, 11 Sep 2012 11:51:02 -0300 Subject: [PATCH] --- yaml --- r: 357459 b: refs/heads/master c: e618578dd828458f35c2cd16edfa7a1dba07ce43 h: refs/heads/master i: 357457: 23ad12587a77cac4ce72ff7039e41a11bf11324f 357455: ab917c13c69c55286a9fdfb4bf9c55d028b4b7c7 v: v3 --- [refs] | 2 +- trunk/drivers/media/usb/tm6000/tm6000-video.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index c4db5932cfd0..62e53da5b408 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 770056c47fbb5c4d892d1cd55ae5ec68cf44c2b4 +refs/heads/master: e618578dd828458f35c2cd16edfa7a1dba07ce43 diff --git a/trunk/drivers/media/usb/tm6000/tm6000-video.c b/trunk/drivers/media/usb/tm6000/tm6000-video.c index 25202a71d65e..ac2588535f48 100644 --- a/trunk/drivers/media/usb/tm6000/tm6000-video.c +++ b/trunk/drivers/media/usb/tm6000/tm6000-video.c @@ -913,6 +913,7 @@ static int vidioc_g_fmt_vid_cap(struct file *file, void *priv, f->fmt.pix.height = fh->height; f->fmt.pix.field = fh->vb_vidq.field; f->fmt.pix.pixelformat = fh->fmt->fourcc; + f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; f->fmt.pix.bytesperline = (f->fmt.pix.width * fh->fmt->depth) >> 3; f->fmt.pix.sizeimage = @@ -967,6 +968,7 @@ static int vidioc_try_fmt_vid_cap(struct file *file, void *priv, (f->fmt.pix.width * fmt->depth) >> 3; f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; + f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; return 0; }