[833/906] gstglcontext: initialize window to NULL

This commit is contained in:
Julien Isorce 2013-11-06 22:12:02 +00:00 committed by Matthew Waters
parent d1376390ba
commit 52119203f9

View file

@ -110,6 +110,7 @@ gst_gl_context_init (GstGLContext * context)
{ {
context->priv = GST_GL_CONTEXT_GET_PRIVATE (context); context->priv = GST_GL_CONTEXT_GET_PRIVATE (context);
context->window = NULL;
context->gl_vtable = g_slice_alloc0 (sizeof (GstGLFuncs)); context->gl_vtable = g_slice_alloc0 (sizeof (GstGLFuncs));
g_mutex_init (&context->priv->render_lock); g_mutex_init (&context->priv->render_lock);