projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef319c7
)
glslstage: properly return an error when we could not create the shader stage
author
Matthew Waters
<matthew@centricular.com>
Wed, 11 Nov 2015 00:29:35 +0000
(11:29 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:10 +0000
(19:32 +0000)
While it was erroring out correctly later, there were GLib warnings about
setting a GError over the top of another GError.
gst-libs/gst/gl/gstglslstage.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglslstage.c
b/gst-libs/gst/gl/gstglslstage.c
index
bd0405f
..
1eb99ce
100644
(file)
--- a/
gst-libs/gst/gl/gstglslstage.c
+++ b/
gst-libs/gst/gl/gstglslstage.c
@@
-436,6
+436,7
@@
_compile_shader (GstGLContext * context, struct compile *data)
if (!_ensure_shader (data->stage)) {
g_set_error (data->error, GST_GLSL_ERROR, GST_GLSL_ERROR_COMPILE,
"Failed to create shader object");
+ data->result = FALSE;
return;
}