summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2020-02-10 09:31:15 -0800
committerU. Artie Eoff <ullysses.a.eoff@intel.com>2020-02-10 09:36:46 -0800
commit9d865453e1593cfc993fe277101bfc5ac2f0a179 (patch)
treecbe59fee74eea3b743914f6dfb1661cd6c3609d0
parent5fe553f4c707003899c0bc17e3deb33edd89cb68 (diff)
libs: utils: WA: use explicit for sRGB colorimetry
Addresses #228 on iHD side. It seems iHD can't handle VAProcColorStandardSRGB in all situations for vpp. But it has no problem when we specify the sRGB parameters via VAProcColorStandardExplicit parameters.
-rw-r--r--gst-libs/gst/vaapi/gstvaapiutils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiutils.c b/gst-libs/gst/vaapi/gstvaapiutils.c
index 33c13724..2a100ab1 100644
--- a/gst-libs/gst/vaapi/gstvaapiutils.c
+++ b/gst-libs/gst/vaapi/gstvaapiutils.c
@@ -982,8 +982,6 @@ from_GstVideoColorimetry (const GstVideoColorimetry * const colorimetry)
if (gst_video_colorimetry_matches (colorimetry,
GST_VIDEO_COLORIMETRY_SMPTE240M))
return VAProcColorStandardSMPTE240M;
- if (gst_video_colorimetry_matches (colorimetry, GST_VIDEO_COLORIMETRY_SRGB))
- return VAProcColorStandardSRGB;
return VAProcColorStandardExplicit;
}