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
@ -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…
x
Reference in New Issue
Block a user