mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
eglglessink: Fix allocation of RGBA textures
This commit is contained in:
parent
a50700404a
commit
c4fc3428eb
1 changed files with 1 additions and 1 deletions
|
@ -3279,7 +3279,7 @@ gst_eglglessink_allocate_eglimage (GstEglGlesSink * eglglessink,
|
|||
if (got_gl_error ("glTexParameteri"))
|
||||
goto mem_error;
|
||||
|
||||
glTexImage2D (GL_TEXTURE_2D, 0, GL_RGB,
|
||||
glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA,
|
||||
GST_VIDEO_INFO_WIDTH (&info),
|
||||
GST_VIDEO_INFO_HEIGHT (&info), 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL);
|
||||
if (got_gl_error ("glTexImage2D"))
|
||||
|
|
Loading…
Reference in a new issue