mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
[601/906] fix typo causing shader compilation failure for uploading I420
This commit is contained in:
parent
12bf1cfa27
commit
d01755fcc5
1 changed files with 1 additions and 2 deletions
|
@ -762,8 +762,7 @@ _init_upload (GstGLDisplay * display, GstGLUpload * upload)
|
|||
|
||||
#ifndef OPENGL_ES2
|
||||
if (!gst_gl_shader_compile_and_check
|
||||
(upload->shader, text_shader_I420_YV12,
|
||||
GST_GL_SHADER_FRAGMENT_SOURCE)) {
|
||||
(upload->shader, text_shader, GST_GL_SHADER_FRAGMENT_SOURCE)) {
|
||||
gst_gl_display_set_error (display,
|
||||
"Failed to initialize shader for uploading I420 or YV12");
|
||||
g_object_unref (G_OBJECT (upload->shader));
|
||||
|
|
Loading…
Reference in a new issue