mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
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.
This commit is contained in:
parent
5fe553f4c7
commit
9d865453e1
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue