From 6621dd3d3ecfa97596e7cc4365fa901eae4c56a4 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 23 Sep 2009 15:31:50 +0200 Subject: [PATCH] [videotestsrc] Make checkers-8 pattern create 8x8 instead of 16x16 tiles --- gst/videotestsrc/videotestsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videotestsrc/videotestsrc.c b/gst/videotestsrc/videotestsrc.c index 2ab1ecdfb7..5208894816 100644 --- a/gst/videotestsrc/videotestsrc.c +++ b/gst/videotestsrc/videotestsrc.c @@ -1158,7 +1158,7 @@ gst_video_test_src_checkers8 (GstVideoTestSrc * v, guchar * dest, int w, int h) for (x = 0; x < w; x += 8) { int len = MIN (8, w - x); - if ((x ^ y) & (1 << 4)) { + if ((x ^ y) & (1 << 3)) { p->rgb_color = p->rgb_colors + COLOR_GREEN; p->yuv_color = p->yuv_colors + COLOR_GREEN; p->gray_color = p->gray_colors + COLOR_GREEN;