mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 15:02:40 +00:00
glupload: fix raw data uploader with addition of GstVideoGLTextureType
Fixes regression from 989200820d
https://bugzilla.gnome.org/show_bug.cgi?id=768217
This commit is contained in:
parent
461201c396
commit
e0ecd774dd
1 changed files with 3 additions and 0 deletions
|
@ -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->parent.wrapped_data = raw->in_frame->frame.data[i];
|
||||||
raw->params->plane = 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 =
|
tex =
|
||||||
gst_gl_base_memory_alloc (allocator,
|
gst_gl_base_memory_alloc (allocator,
|
||||||
|
|
Loading…
Reference in a new issue