mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +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
|
#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));
|
||||||
|
|
Loading…
Reference in a new issue