glcolorconvert: perform better negotiation
authorMatthew Waters <matthew@centricular.com>
Tue, 2 Feb 2016 01:50:26 +0000 (12:50 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:16 +0000 (19:32 +0000)
commit32b71bd48d90f395b38719dae5436a952eeae1c8
tree4db0107093d53a40d84ed709b8b8364b4929330a
parentf2cfa7fb51c9ffc167364ad2a7378c7a6972cc09
glcolorconvert: perform better negotiation

1. Correctly describe what we can caps we can transform to/from.
   i.e. no YUV->YUV or GRAY->YUV or YUV->GRAY (except for passthrough).
2. Prefer similar formats and ignore incompatible formats on fixation.
gst-libs/gst/gl/gstglcolorconvert.c