[892/906] silence a compiler warning on older gcc versions (4.6)

This commit is contained in:
Matthew Waters 2014-02-23 11:44:51 +11:00 committed by Tim-Philipp Müller
parent 97f6bc0bfc
commit d169aa05dc

View file

@ -458,7 +458,7 @@ gst_gl_context_default_get_proc_address (GstGLContext * context,
gboolean gboolean
gst_gl_context_set_window (GstGLContext * context, GstGLWindow * window) 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 */ /* we can't change the window while we are running */
if (context->priv->alive) if (context->priv->alive)