<div dir="ltr"><div><div>Hi.<br><br></div>Error preventsGit Master  gst-plugins-bad from compiling. The errors are:<br><br>make[5]: Entering directory `/home/stream/Projects/GStreamer/Git/gst-plugins-bad/gst-libs/gst/gl'<br>
  CC       libgstgl_1.0_la-gstgldisplay.lo<br>gstgldisplay.c: In function 'gst_gl_display_new':<br>gstgldisplay.c:115:30: error: variable 'platform_choice' set but not used [-Werror=unused-but-set-variable]<br>
   const gchar *user_choice, *platform_choice;<br>                              ^<br>cc1: all warnings being treated as errors<br>make[5]: *** [libgstgl_1.0_la-gstgldisplay.lo] Error 1<br><br></div><div>If 'GST_GL_HAVE_PLATFORM_EGL' is not defined, then platform_choice is defined and set, but not used which with the configured compiling settings throws an error. If the setting of  platform_choice is moved in under the<br>
'#if GST_GL_HAVE_PLATFORM_EGL' then the platform_choice is defined, but not used throwing an error. So that must be guarded as well by the 'GST_GL_HAVE_PLATFORM_EGL.<br><br></div><div>Best regards<br></div><div>
Peter<br></div></div>