glcolorconvert: perform better negotiation
authorMatthew Waters <matthew@centricular.com>
Tue, 2 Feb 2016 01:50:26 +0000 (12:50 +1100)
committerMatthew Waters <matthew@centricular.com>
Tue, 2 Feb 2016 02:27:06 +0000 (13:27 +1100)
commit914da9f7461a0803cc566ebda1497551560dca7d
tree863e0f40e40a941928176a8df9616e609dee02b9
parentf0ecdcefb3bba8cd27338a6b1d59fd465ff1e853
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