[gtk/wip.win32.fixes: 19/21] gtkgstsink.c: Check GST_GL_HAVE_PLATFORM_EGL correctly




commit 334bdf8ee6ee40a22031967dc50aa9900784bca6
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu May 20 12:53:23 2021 +0800

    gtkgstsink.c: Check GST_GL_HAVE_PLATFORM_EGL correctly
    
    It is still defined if it is not there, but defined to 0...

 modules/media/gtkgstsink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/modules/media/gtkgstsink.c b/modules/media/gtkgstsink.c
index 7452ee7a4b..549706767b 100644
--- a/modules/media/gtkgstsink.c
+++ b/modules/media/gtkgstsink.c
@@ -505,7 +505,7 @@ gtk_gst_sink_initialize_gl (GtkGstSink *self)
 #endif
             }
 
-#ifdef GST_GL_HAVE_PLATFORM_EGL
+#if GST_GL_HAVE_PLATFORM_EGL
           else
             {
               gpointer display_ptr = gdk_win32_display_get_egl_display (display);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]