summaryrefslogtreecommitdiffstats
path: root/gst/games/gstvideoimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/games/gstvideoimage.c')
-rw-r--r--gst/games/gstvideoimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/games/gstvideoimage.c b/gst/games/gstvideoimage.c
index 317ae3f8..7e3436f0 100644
--- a/gst/games/gstvideoimage.c
+++ b/gst/games/gstvideoimage.c
@@ -265,7 +265,7 @@ gst_video_image_draw_rectangle (GstVideoImage * image, gint x, gint y,
}
} else {
h--;
- image->format->paint_hline (image, x, i, w, c);
+ image->format->paint_hline (image, x, y, w, c);
for (i = 1; i < h; i++) {
image->format->paint_hline (image, x, y + i, 1, c);
image->format->paint_hline (image, x + w - 1, y + i, 1, c);