[gtk/gst.gl.win32: 11/11] gtkgstsink.c: Check GST_GL_HAVE_PLATFORM_EGL correctly
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gst.gl.win32: 11/11] gtkgstsink.c: Check GST_GL_HAVE_PLATFORM_EGL correctly
- Date: Thu, 20 May 2021 08:20:10 +0000 (UTC)
commit c2db8aaba4aa46c19b1b5ef5cddf4dccf9463930
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]