[601/906] fix typo causing shader compilation failure for uploading I420
authorMatthew Waters <ystreet00@gmail.com>
Wed, 10 Oct 2012 13:24:51 +0000 (00:24 +1100)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:49 +0000 (18:36 +0100)
gst-libs/gst/gl/gstglupload.c

index 30b9441..9291b40 100644 (file)
@@ -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));