mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +00:00
[videotestsrc] Make checkers-8 pattern create 8x8 instead of 16x16 tiles
This commit is contained in:
parent
9d6eb19453
commit
6621dd3d3e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue