glwindow: Remove assertion in gst_gl_window_show() for subclasses not implementing it
authorSebastian Dröge <sebastian@centricular.com>
Mon, 16 Feb 2015 23:04:38 +0000 (01:04 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:54 +0000 (19:31 +0000)
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

index cc2eaba..6916dce 100644 (file)
@@ -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);