summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <ystreet00@gmail.com>2014-02-23 11:44:51 +1100
committerMatthew Waters <ystreet00@gmail.com>2014-02-23 11:44:51 +1100
commit4541809ed96fb72f554d0e6f8c87580c17e1f267 (patch)
treed8908f6c43c2984e2b2fbacb2d5b5187f37d859c
parent83fb4064238fc1ba5f90a390792910d52f2b0424 (diff)
silence a compiler warning on older gcc versions (4.6)
-rw-r--r--gst-libs/gst/gl/gstglcontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c
index d190502..1051d3b 100644
--- a/gst-libs/gst/gl/gstglcontext.c
+++ b/gst-libs/gst/gl/gstglcontext.c
@@ -458,7 +458,7 @@ gst_gl_context_default_get_proc_address (GstGLContext * context,
gboolean
gst_gl_context_set_window (GstGLContext * context, GstGLWindow * window)
{
- g_return_val_if_fail (!GST_GL_IS_WRAPPED_CONTEXT (context), NULL);
+ g_return_val_if_fail (!GST_GL_IS_WRAPPED_CONTEXT (context), FALSE);
/* we can't change the window while we are running */
if (context->priv->alive)