From 87a4884acd8655a6591d735a1d944ecb5ea3de16 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Mon, 8 Jun 2015 19:10:34 -0400 Subject: [PATCH] v4l2: Add missing SMTP240M matrix This is missing in the doc, but was in the header. --- common | 2 +- sys/v4l2/gstv4l2object.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/common b/common index d9a33530a2..d37af32e2d 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit d9a33530a24c3ea24a6e13bd343b440c5656740e +Subproject commit d37af32e2d6d1b546af72978f8441a84996ab3ea diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c index 5cc6af581d..fec562acb7 100644 --- a/sys/v4l2/gstv4l2object.c +++ b/sys/v4l2/gstv4l2object.c @@ -1784,6 +1784,9 @@ gst_v4l2_object_get_colorspace (enum v4l2_colorspace colorspace, case V4L2_YCBCR_ENC_BT2020: cinfo->matrix = GST_VIDEO_COLOR_MATRIX_BT2020; break; + case V4L2_YCBCR_ENC_SMPTE240M: + cinfo->matrix = GST_VIDEO_COLOR_MATRIX_SMPTE240M; + break; case V4L2_YCBCR_ENC_DEFAULT: /* nothing, just use defaults for colorspace */ break;