From a41b21f4a56d9c1419a4ccc1025cc6d3e87f96f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 15 Jul 2013 18:07:12 +0200 Subject: [PATCH] [758/906] android: Don't require a window to be set This allows the filters to be usable without a GL sink downstream. --- gst-libs/gst/gl/android/gstglwindow_android_egl.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gst-libs/gst/gl/android/gstglwindow_android_egl.c b/gst-libs/gst/gl/android/gstglwindow_android_egl.c index f87f2a9..1726068 100644 --- a/gst-libs/gst/gl/android/gstglwindow_android_egl.c +++ b/gst-libs/gst/gl/android/gstglwindow_android_egl.c @@ -120,12 +120,6 @@ gst_gl_window_android_egl_create_context (GstGLWindow * window, { GstGLWindowAndroidEGL *window_egl = GST_GL_WINDOW_ANDROID_EGL (window); - if (!window_egl->native_window) { - g_set_error (error, GST_GL_WINDOW_ERROR, GST_GL_WINDOW_ERROR_WRONG_CONFIG, - "No native window set"); - return FALSE; - } - window_egl->main_context = g_main_context_new (); window_egl->loop = g_main_loop_new (window_egl->main_context, FALSE); -- 2.7.4