diff --git a/subprojects/gst-plugins-base/gst-libs/gst/gl/gstgldisplay.c b/subprojects/gst-plugins-base/gst-libs/gst/gl/gstgldisplay.c index 2800519e9a..2a041b7b0a 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/gl/gstgldisplay.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/gl/gstgldisplay.c @@ -281,14 +281,8 @@ static GstGLDisplayType gst_gl_display_type_from_environment (void) { const char *env = g_getenv ("GST_GL_WINDOW"); - const char *platform = g_getenv ("GST_GL_PLATFORM"); - init_debug (); - - GST_INFO ("creating a display, user choice:%s (platform: %s)", - GST_STR_NULL (env), GST_STR_NULL (platform)); - - if (!env && !platform) + if (!env) return GST_GL_DISPLAY_TYPE_ANY; if (env) {