mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
gloverlaycompositor: Pass buffer stride
The overlay pixel buffer stride was not given back to the GL image. https://bugzilla.gnome.org/show_bug.cgi?id=745107
This commit is contained in:
parent
ad8cb458ba
commit
9c020443e6
1 changed files with 1 additions and 0 deletions
|
@ -325,6 +325,7 @@ gst_gl_composition_overlay_upload (GstGLCompositionOverlay * overlay,
|
|||
gst_video_info_init (&text_info);
|
||||
gst_video_info_set_format (&text_info, meta->format, meta->width,
|
||||
meta->height);
|
||||
text_info->stride[0] = stride;
|
||||
|
||||
comp_gl_memory =
|
||||
gst_gl_memory_wrapped (overlay->context, &text_info, 0, NULL,
|
||||
|
|
Loading…
Reference in a new issue