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:
Nicolas Dufresne 2015-07-22 14:17:42 -04:00
parent ad8cb458ba
commit 9c020443e6

View file

@ -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,