video-converter: only convert to/from rgb when needed
authorWim Taymans <wtaymans@redhat.com>
Mon, 9 Mar 2015 11:13:44 +0000 (12:13 +0100)
committerWim Taymans <wtaymans@redhat.com>
Mon, 9 Mar 2015 11:16:56 +0000 (12:16 +0100)
commit8296cdbfd58b6a6d59bd118e9e7e974f721c6066
treed28f7d9148ec9beb32cb32f03f8ef7db6d061096
parent8f13a31bae97722c96dda40dd628bcc801dba7e5
video-converter: only convert to/from rgb when needed

Only use the YUV->RGB matrix when we have YUV as input and only use the
matrix when we need to make YUV output.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=745780
gst-libs/gst/video/video-converter.c