plugins: Fix usage of GST_GL_HAVE_WINDOW_* defines
authorScott D Phillips <scott.d.phillips@intel.com>
Wed, 5 Apr 2017 18:19:15 +0000 (11:19 -0700)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 11 Apr 2017 14:32:26 +0000 (16:32 +0200)
commit0343649667d58dfb24d002e9cc924fd356a1dd9f
treee93bfc0922dc4f4286dd78fda6e62d2e6866228a
parentd68edb04a17ba9dd6964ec84ba7997dd4b84c6e5
plugins: Fix usage of GST_GL_HAVE_WINDOW_* defines

When these definitions are false, they are undef in the
preprocessor, not a defined value of 0. When they are unset the
compile fails with:

 'GST_GL_HAVE_WINDOW_WAYLAND' undeclared (first use in this function)

https://bugzilla.gnome.org/show_bug.cgi?id=780948
gst/vaapi/gstvaapipluginutil.c