Commit 6621dd3d authored by Benjamin Otte's avatar Benjamin Otte
Browse files

[videotestsrc] Make checkers-8 pattern create 8x8 instead of 16x16 tiles

parent 9d6eb194
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment