gl: Let gst_gl_context_get_thread() return a new reference to the GThread
authorSebastian Dröge <sebastian@centricular.com>
Mon, 22 Sep 2014 07:08:17 +0000 (10:08 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:46 +0000 (19:31 +0000)
commit9dd4f40ad653cab04331f8949075247e62a5f48a
treed08f6207acaaa1615ea3e2da8035044af19ea493
parente9e84da30a02f34bcc54f2443ef8849d8736f56f
gl: Let gst_gl_context_get_thread() return a new reference to the GThread

Otherwise it might go away in the meantime and the caller has some random pointer.
gst-libs/gst/gl/gstglcontext.c