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:
b91eb6b
)
[828/906] context: refcount the display
author
Matthew Waters
<ystreet00@gmail.com>
Tue, 22 Oct 2013 10:48:00 +0000
(21:48 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:32 +0000
(19:31 +0000)
gst-libs/gst/gl/gstglcontext.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglcontext.c
b/gst-libs/gst/gl/gstglcontext.c
index
0101a83
..
4ecace7
100644
(file)
--- a/
gst-libs/gst/gl/gstglcontext.c
+++ b/
gst-libs/gst/gl/gstglcontext.c
@@
-172,7
+172,7
@@
gst_gl_context_new (GstGLDisplay * display)
return NULL;
}
- context->priv->display =
display
;
+ context->priv->display =
gst_object_ref (display)
;
return context;
}
@@
-206,6
+206,7
@@
gst_gl_context_finalize (GObject * object)
}
gst_object_unref (context->window);
+ gst_object_unref (context->priv->display);
if (context->gl_vtable) {
g_slice_free (GstGLFuncs, context->gl_vtable);