From 9c020443e6959b7c710e6de2ddbee36e9e2a3aab Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 22 Jul 2015 14:17:42 -0400 Subject: [PATCH] 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 --- gst-libs/gst/gl/gstgloverlaycompositor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/gl/gstgloverlaycompositor.c b/gst-libs/gst/gl/gstgloverlaycompositor.c index 7ad8106..99687bd 100644 --- a/gst-libs/gst/gl/gstgloverlaycompositor.c +++ b/gst-libs/gst/gl/gstgloverlaycompositor.c @@ -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, -- 2.7.4