From d54781eda73705fa8d59864b4c73ec0891049d99 Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Wed, 31 Mar 2021 16:51:50 +0200 Subject: [PATCH] Revert "Sink: limit GL APIs to OpenGL3+ and GLES2+" This reverts commit 3fd30e41bfd14d2bd1b0efacfc46275347b54de4. Some pipeline elements might still need to use (and work) on older OpenGL versions. --- lib/gst/clapper/gtk4/gtkclapperglwidget.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/gst/clapper/gtk4/gtkclapperglwidget.c b/lib/gst/clapper/gtk4/gtkclapperglwidget.c index cb911078..fc7e5feb 100644 --- a/lib/gst/clapper/gtk4/gtkclapperglwidget.c +++ b/lib/gst/clapper/gtk4/gtkclapperglwidget.c @@ -52,8 +52,6 @@ GST_DEBUG_CATEGORY (gst_debug_clapper_gl_widget); #define GST_CAT_DEFAULT gst_debug_clapper_gl_widget -#define SUPPORTED_GL_APIS GST_GL_API_OPENGL3 | GST_GL_API_GLES2 - #define DEFAULT_FORCE_ASPECT_RATIO TRUE #define DEFAULT_PAR_N 0 #define DEFAULT_PAR_D 1 @@ -1001,7 +999,6 @@ gtk_clapper_gl_widget_init (GtkClapperGLWidget * clapper_widget) priv->display = gst_gl_display_new (); GST_INFO ("Created %" GST_PTR_FORMAT, priv->display); - gst_gl_display_filter_gl_api (priv->display, SUPPORTED_GL_APIS); gtk_gl_area_set_auto_render (GTK_GL_AREA (widget), FALSE); }