videotestsrc: fix YV12 chroma plane confusion
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 22 Feb 2012 09:32:56 +0000 (09:32 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 22 Feb 2012 09:58:20 +0000 (09:58 +0000)
commitaa7ee3733d43203234c14fb14d4fea1daa7e053d
treefdf652d33564dbb0872677f9ff780d1b9d258716
parent63f3f271641010ff094c7a6bafe175484b435b8c
videotestsrc: fix YV12 chroma plane confusion

GST_VIDEO_FRAME_PLANE_DATA() returns the data for the n-th plane,
not the n-th component. In this case, the chroma planes are swapped.
gst/videotestsrc/videotestsrc.c