mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 22:42:35 +00:00
[230/906] explicit check g_getenv return value to be not NULL
This commit is contained in:
parent
ec8aa615e5
commit
6c04333f11
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ gst_gl_shader_init (GstGLShader * self)
|
||||||
priv->compiled = FALSE;
|
priv->compiled = FALSE;
|
||||||
priv->active = FALSE; // unused at the moment
|
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;
|
_gst_gl_shader_debug = TRUE;
|
||||||
|
|
||||||
g_log_set_handler ("GstGLShader", G_LOG_LEVEL_DEBUG,
|
g_log_set_handler ("GstGLShader", G_LOG_LEVEL_DEBUG,
|
||||||
|
|
Loading…
Reference in a new issue