videotestsrc: Fix image for odd widths in some formats
authorBenjamin Otte <otte@gnome.org>
Thu, 10 Sep 2009 08:08:28 +0000 (10:08 +0200)
committerBenjamin Otte <otte@gnome.org>
Thu, 10 Sep 2009 08:45:06 +0000 (10:45 +0200)
commit35fdfcc6258c66ba462a4330a35deffb0f2b501d
tree38cee0eb31a9ef937bffaae4cc352a89490be45d
parentce51263142bb1f2395c700dc4259ca7d984f6cdf
videotestsrc: Fix image for odd widths in some formats

videotestsrc rounds chroma down. This causes it to omit the last chroma
value completely for odd widths when the chroma is downsampled.
This patch special cases the last pixel to not be rounded down.
gst/videotestsrc/videotestsrc.c