mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
[833/906] gstglcontext: initialize window to NULL
This commit is contained in:
parent
d1376390ba
commit
52119203f9
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue