From: Sebastian Dröge Date: Mon, 16 Feb 2015 23:04:38 +0000 (+0200) Subject: glwindow: Remove assertion in gst_gl_window_show() for subclasses not implementing it X-Git-Tag: 1.19.3~511^2~1989^2~1065 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c4e75844a829469dc203f70d00f3c1cb2a923bec;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/gst-libs/gst/gl/gstglwindow.c b/gst-libs/gst/gl/gstglwindow.c index cc2eaba..6916dce 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);