[601/906] fix typo causing shader compilation failure for uploading I420

This commit is contained in:
Matthew Waters 2012-10-11 00:24:51 +11:00
parent 12bf1cfa27
commit d01755fcc5

View file

@ -762,8 +762,7 @@ _init_upload (GstGLDisplay * display, GstGLUpload * upload)
#ifndef OPENGL_ES2 #ifndef OPENGL_ES2
if (!gst_gl_shader_compile_and_check if (!gst_gl_shader_compile_and_check
(upload->shader, text_shader_I420_YV12, (upload->shader, text_shader, GST_GL_SHADER_FRAGMENT_SOURCE)) {
GST_GL_SHADER_FRAGMENT_SOURCE)) {
gst_gl_display_set_error (display, gst_gl_display_set_error (display,
"Failed to initialize shader for uploading I420 or YV12"); "Failed to initialize shader for uploading I420 or YV12");
g_object_unref (G_OBJECT (upload->shader)); g_object_unref (G_OBJECT (upload->shader));