diff options
author | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2020-02-10 09:31:15 -0800 |
---|---|---|
committer | U. Artie Eoff <ullysses.a.eoff@intel.com> | 2020-02-10 09:36:46 -0800 |
commit | 9d865453e1593cfc993fe277101bfc5ac2f0a179 (patch) | |
tree | cbe59fee74eea3b743914f6dfb1661cd6c3609d0 /gst-libs | |
parent | 5fe553f4c707003899c0bc17e3deb33edd89cb68 (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.
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiutils.c | 2 |
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; } |