diff --git a/gst/videobox/gstvideobox.c b/gst/videobox/gstvideobox.c index f70e46d0c3..a0d6c311d2 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);