[230/906] explicit check g_getenv return value to be not NULL
This commit is contained in:
parent
ec8aa615e5
commit
6c04333f11
@ -245,7 +245,7 @@ gst_gl_shader_init (GstGLShader * self)
|
||||
priv->compiled = FALSE;
|
||||
priv->active = FALSE; // unused at the moment
|
||||
|
||||
if (g_getenv ("GST_GL_SHADER_DEBUG"))
|
||||
if (g_getenv ("GST_GL_SHADER_DEBUG") != NULL)
|
||||
_gst_gl_shader_debug = TRUE;
|
||||
|
||||
g_log_set_handler ("GstGLShader", G_LOG_LEVEL_DEBUG,
|
||||
|
Loading…
x
Reference in New Issue
Block a user