From e0ecd774ddf8930ccfa8102b640ee8d33bf0da4c Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Thu, 30 Jun 2016 14:04:36 +1000 Subject: [PATCH] glupload: fix raw data uploader with addition of GstVideoGLTextureType Fixes regression from 989200820d43c78fb179d7984827800d83787390 https://bugzilla.gnome.org/show_bug.cgi?id=768217 --- gst-libs/gst/gl/gstglupload.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst-libs/gst/gl/gstglupload.c b/gst-libs/gst/gl/gstglupload.c index 2fd8793b26..e94195b925 100644 --- a/gst-libs/gst/gl/gstglupload.c +++ b/gst-libs/gst/gl/gstglupload.c @@ -1104,6 +1104,9 @@ _raw_data_upload_perform (gpointer impl, GstBuffer * buffer, raw->params->parent.wrapped_data = raw->in_frame->frame.data[i]; raw->params->plane = i; + raw->params->tex_type = + gst_gl_texture_type_from_format (raw->upload->context, + GST_VIDEO_INFO_FORMAT (in_info), i); tex = gst_gl_base_memory_alloc (allocator,