[601/906] fix typo causing shader compilation failure for uploading I420
This commit is contained in:
parent
d55bbf7f55
commit
9267372466
@ -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…
x
Reference in New Issue
Block a user