glcolorconvert: fix negotiation for a non list video format in caps
authorMatthew Waters <matthew@centricular.com>
Sun, 6 May 2018 08:51:10 +0000 (18:51 +1000)
committerMatthew Waters <matthew@centricular.com>
Sun, 6 May 2018 08:54:20 +0000 (18:54 +1000)
commite367d3e812047acfeae7801097a8c74ccac22890
tree3891c50b3f2de115e4c01fcb02e70cc1ef9272db
parent4187242a7cbd21170c43a0ebdbd66678f14131ca
glcolorconvert: fix negotiation for a non list video format in caps

For a single format in the caps, we were returning some weird answers,
like only RGB formats for a RGB input when we can also support YUV from
RGB.

Fixup of 3cfff727b19d450898dbe7931c53ea05bc2a9ac3 where I thought my
previous (~6month) self had got this right.  Don't trust your previous
self people!
gst-libs/gst/gl/gstglcolorconvert.c