mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
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
This commit is contained in:
parent
c0713e4b80
commit
79403bcb0c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue