mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
videotestsrc: keep the calculation fixed-point
https://bugzilla.gnome.org/show_bug.cgi?id=667315
This commit is contained in:
parent
580b6b2b69
commit
cfdb48ba8f
1 changed files with 1 additions and 1 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Reference in a new issue