GNOME Bugzilla – Bug 750467
video-color: sRGB matrix is wrongly set to identity
Last modified: 2015-06-12 23:38:22 UTC
sRGB applies to YUV formats, but for some reason GST defines the color matrix to identity (RGB) which can only apply to RGB format. This cause warning (and failure to expose colorimetry in v4l2) as sRGB is what most webcams uses.
Created attachment 304671 [details] [review] video-color: Fix definition of sRGB sRGB is like BT709 but with full range instead. This was oddly defined with RGB identity matrix instead of BT709 matrix. This would lead to warning since an RGB matrix was set for YUV formats.
Comment on attachment 304671 [details] [review] video-color: Fix definition of sRGB Eh no, that was wrong. Even though all webcams says sRGB they mean sYCC, which was then confirmed by the V4L2 maintainers (in v4l2 they use sRGB not to confuse the driver integrator, they also support a split form of the colorimetry definition).