summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2016-01-22 10:03:50 +0100
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2016-04-07 11:41:45 -0400
commit6cf89bf684f7c5fbd46bdab804a4ed3292108a8b (patch)
tree9bf2c2ef6fc2a319019242cfc7ca14c7346742ea
parent1879e7602f1de5e2ed3be82ef97f4fb014409928 (diff)
downloadgstreamer-plugins-good-6cf89bf684f7c5fbd46bdab804a4ed3292108a8b.tar.gz
v4l2: fix sRGB colorspace definition
V4l2 can also use the sRGB colorspace for YUV formats and thus needs a default matrix.
-rw-r--r--sys/v4l2/gstv4l2object.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
index f7d315a10..90f569ff0 100644
--- a/sys/v4l2/gstv4l2object.c
+++ b/sys/v4l2/gstv4l2object.c
@@ -1738,7 +1738,6 @@ gst_v4l2_object_get_colorspace (enum v4l2_colorspace colorspace,
break;
case V4L2_COLORSPACE_SRGB:
case V4L2_COLORSPACE_JPEG:
- /* This is in fact sYCC */
cinfo->range = GST_VIDEO_COLOR_RANGE_0_255;
cinfo->matrix = GST_VIDEO_COLOR_MATRIX_BT601;
cinfo->transfer = GST_VIDEO_TRANSFER_SRGB;