From 79403bcb0c2f8a4fc89ed79a4416eb5119efc58f Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 1 Nov 2012 13:02:16 +0000 Subject: [PATCH] videbox: fix border filling for gray formats Get the height via GST_VIDEO_FRAME_HEIGHT, not _WIDTH. https://bugzilla.gnome.org/show_bug.cgi?id=687330 --- gst/videobox/gstvideobox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videobox/gstvideobox.c b/gst/videobox/gstvideobox.c index f70e46d..a0d6c31 100644 --- a/gst/videobox/gstvideobox.c +++ b/gst/videobox/gstvideobox.c @@ -2148,7 +2148,7 @@ fill_gray (GstVideoBoxFill fill_type, guint b_alpha, format = GST_VIDEO_FRAME_FORMAT (frame); width = GST_VIDEO_FRAME_WIDTH (frame); - height = GST_VIDEO_FRAME_WIDTH (frame); + height = GST_VIDEO_FRAME_HEIGHT (frame); dest = GST_VIDEO_FRAME_PLANE_DATA (frame, 0); dest_stride = GST_VIDEO_FRAME_PLANE_STRIDE (frame, 0); -- 2.7.4