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
@ -325,6 +325,7 @@ gst_gl_composition_overlay_upload (GstGLCompositionOverlay * overlay,
|
|||||||
gst_video_info_init (&text_info);
|
gst_video_info_init (&text_info);
|
||||||
gst_video_info_set_format (&text_info, meta->format, meta->width,
|
gst_video_info_set_format (&text_info, meta->format, meta->width,
|
||||||
meta->height);
|
meta->height);
|
||||||
|
text_info->stride[0] = stride;
|
||||||
|
|
||||||
comp_gl_memory =
|
comp_gl_memory =
|
||||||
gst_gl_memory_wrapped (overlay->context, &text_info, 0, NULL,
|
gst_gl_memory_wrapped (overlay->context, &text_info, 0, NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user