projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcdfdfb
)
glwindow: Remove assertion in gst_gl_window_show() for subclasses not implementing it
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 16 Feb 2015 23:04:38 +0000
(
01:04
+0200)
committer
Tim-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
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglwindow.c
b/gst-libs/gst/gl/gstglwindow.c
index
cc2eaba
..
6916dce
100644
(file)
--- 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);