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:
80fdf4c
)
[617/906] fix 'set but not used' compiler warnings
author
Matthew Waters
<ystreet00@gmail.com>
Mon, 19 Nov 2012 13:15:05 +0000
(
00:15
+1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:26 +0000
(19:31 +0000)
gst-libs/gst/gl/x11/gstglwindow_x11.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/x11/gstglwindow_x11.c
b/gst-libs/gst/gl/x11/gstglwindow_x11.c
index
ee27cc3
..
7397d8a
100644
(file)
--- a/
gst-libs/gst/gl/x11/gstglwindow_x11.c
+++ b/
gst-libs/gst/gl/x11/gstglwindow_x11.c
@@
-218,12
+218,8
@@
gst_gl_window_x11_new (GstGLRendererAPI render_api,
{
GstGLWindowX11 *window = NULL;
const gchar *user_choice;
- gboolean user_glx;
- gboolean user_egl;
user_choice = g_getenv ("GST_GL_PLATFORM");
- user_glx = !user_choice || g_strstr_len (user_choice, 3, "glx") != NULL;
- user_egl = !user_choice || g_strstr_len (user_choice, 3, "egl") != NULL;
#ifdef HAVE_GLX
#ifdef HAVE_EGL