From c4e75844a829469dc203f70d00f3c1cb2a923bec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 17 Feb 2015 01:04:38 +0200 Subject: [PATCH] glwindow: Remove assertion in gst_gl_window_show() for subclasses not implementing it On Android and iOS we can't create a window ourselves, so also can't just show one. That's not a problem and an assertion is not really needed here. --- gst-libs/gst/gl/gstglwindow.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglwindow.c b/gst-libs/gst/gl/gstglwindow.c index cc2eabafc3..6916dced78 100644 --- a/gst-libs/gst/gl/gstglwindow.c +++ b/gst-libs/gst/gl/gstglwindow.c @@ -396,7 +396,6 @@ gst_gl_window_show (GstGLWindow * window) g_return_if_fail (GST_GL_IS_WINDOW (window)); window_class = GST_GL_WINDOW_GET_CLASS (window); - g_return_if_fail (window_class->show != NULL); if (window_class->show) window_class->show (window);