ffmpegcolorspace: Fix IYU1 support
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 3 Nov 2010 09:35:35 +0000 (10:35 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 3 Nov 2010 09:49:35 +0000 (10:49 +0100)
commit1469453cb95582c62cd48dde2c0b8e2c798b59a7
tree572dd84605a6bbbfa2dc8fee684f529c07573b03
parent0d39e2896e43f4ca5c4a80536a03c44232bf40ff
ffmpegcolorspace: Fix IYU1 support

Fix conversions to IYU1, they allocated infinite amounts of memory before
because no conversion to IYU1 was actually implemented and it was running
into an infinite loop trying to find suitable intermediate formats.

Also fix the stride and sizes used for IYU1.
gst/ffmpegcolorspace/gstffmpegcodecmap.c
gst/ffmpegcolorspace/imgconvert.c