From fc525ffcb1c7e1dbea611c11225086d17e5b4703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Tue, 15 Jun 2021 16:52:47 +0200 Subject: [PATCH] sink: EGL on X11 from GTK 4.3.1 Recent GTK 4.3.1 release already uses EGL on x11, so lower the version check to that version --- lib/gst/clapper/gtk4/gtkclapperglwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gst/clapper/gtk4/gtkclapperglwidget.c b/lib/gst/clapper/gtk4/gtkclapperglwidget.c index 8baf2dc2..39612dea 100644 --- a/lib/gst/clapper/gtk4/gtkclapperglwidget.c +++ b/lib/gst/clapper/gtk4/gtkclapperglwidget.c @@ -993,7 +993,7 @@ gtk_clapper_gl_widget_init (GtkClapperGLWidget * clapper_widget) #if GST_GL_HAVE_WINDOW_X11 && defined (GDK_WINDOWING_X11) if (GDK_IS_X11_DISPLAY (display)) { gpointer display_ptr; -#if GST_GL_HAVE_PLATFORM_EGL && GTK_CHECK_VERSION(4,4,0) +#if GST_GL_HAVE_PLATFORM_EGL && GTK_CHECK_VERSION(4,3,1) display_ptr = gdk_x11_display_get_egl_display (display); if (display_ptr) priv->display = (GstGLDisplay *)