mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
gldisplay: Remove unused code
The code related with environment variable `GST_GL_PLATFORM` is unused
since commit 33c60bdbf9
.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4090>
This commit is contained in:
parent
83576690b6
commit
dafc024ed0
1 changed files with 1 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue