projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14521a8
)
gl: fix crash if _build_extension_string is not called
author
Julien Isorce
<julien.isorce@collabora.co.uk>
Mon, 24 Mar 2014 12:04:08 +0000
(12:04 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:35 +0000
(19:31 +0000)
On GLES2 then (gl->GetIntegerv && gl->GetStringi) is false
regression introduced by
cc6df204e2f58fffda5cbe90f3450aeba95889c4
https://bugzilla.gnome.org/show_bug.cgi?id=703343
gst-libs/gst/gl/gstglcontext.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglcontext.c
b/gst-libs/gst/gl/gstglcontext.c
index 1a901c03b9dc04ff476d79a190ad2a7df1943470..1b8a21c859812caf86df1450951aa022c01cbd30 100644
(file)
--- a/
gst-libs/gst/gl/gstglcontext.c
+++ b/
gst-libs/gst/gl/gstglcontext.c
@@
-804,7
+804,7
@@
gst_gl_context_create_thread (GstGLContext * context)
if (gl->GetIntegerv && gl->GetStringi)
ext_g_str = _build_extension_string (context);
- if (ext_g_str->len) {
+ if (ext_g_str
&& ext_g_str
->len) {
_gst_gl_feature_check_ext_functions (context, gl_major, gl_minor,
ext_g_str->str);
} else {