diff --git a/gst/videotestsrc/videotestsrc.c b/gst/videotestsrc/videotestsrc.c index 8f7ddaff21..d7c3f87fe6 100644 --- a/gst/videotestsrc/videotestsrc.c +++ b/gst/videotestsrc/videotestsrc.c @@ -740,7 +740,7 @@ gst_video_test_src_smpte (GstVideoTestSrc * v, unsigned char *dest, int w, fourcc->paint_setup (p, dest); y1 = 2 * h / 3; - y2 = h * 0.75; + y2 = 3 * h / 4; /* color bars */ for (j = 0; j < y1; j++) {