Skip to contentSkip to conversation

hdpvr: fix reported HDTV colorspace

PATCH New Hans Verkuil 1 participant 1 message Jul 5, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hdpvr: fix reported HDTV colorspace

The colorspace for HDTV is REC709, not SMPTE240M.

drivers/media/usb/hdpvr/hdpvr-video.c +1 -1
index 0500c417..f379e50 100644
@@ -1029,7 +1029,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;