summaryrefslogtreecommitdiffstats
path: root/gst/games/gstvideoimage.c
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2005-01-06 12:41:13 +0000
committerStéphane Loeuillet <gstreamer@leroutier.net>2005-01-06 12:41:13 +0000
commitc9832b6d744a1e7da4eec211927937f0a07b42d8 (patch)
tree56e0c94b6cf09648f3749db5fcc736e829508f54 /gst/games/gstvideoimage.c
parent9ea83f3ee48a4be355910de9fbb5a12ab5b7d5de (diff)
downloadgst-plugins-bad-c9832b6d744a1e7da4eec211927937f0a07b42d8.tar.gz
gst-plugins-bad-c9832b6d744a1e7da4eec211927937f0a07b42d8.tar.bz2
gst-plugins-bad-c9832b6d744a1e7da4eec211927937f0a07b42d8.zip
gst/asfdemux/gstasfdemux.c: Extract TrackNumber metadata + clean up code
Original commit message from CVS: * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_ext_content_desc): Extract TrackNumber metadata + clean up code * gst/games/gstvideoimage.c: (gst_video_image_draw_rectangle): Hope this is the good fix (var used unitialised)
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);