gstreamer/gst-libs/gst/gl/cocoa
Matthew Waters d75eb628d6 gl/cocoa: keep refs over async operations
Avoids dereferencing dead objects

What happens in the autovideosink case is that context 1 is created and
destroyed before all the async operations hae executed on the associated
window.  When the delayed operations execute, they then reference dead
objects and crash.

We fix this by keeping refs over all async operations so the object
cannot be deleted while async operations are in flight.

https://bugzilla.gnome.org/show_bug.cgi?id=782379
2017-12-09 19:32:29 +00:00
..
gstgl_cocoa_private.h gl/cocoa: keep refs over async operations 2017-12-09 19:32:29 +00:00
gstglcaopengllayer.h glwindow: add API to request a resize event on the next draw 2017-12-09 19:32:08 +00:00
gstglcaopengllayer.m applemedia/gl: Update code to use ARC 2017-12-09 19:32:27 +00:00
gstglcontext_cocoa.h gl: Fix backwards compat GST_GL_TYPE_* functions/macros 2017-12-09 19:32:26 +00:00
gstglcontext_cocoa.m gl/cocoa: keep refs over async operations 2017-12-09 19:32:29 +00:00
gstgldisplay_cocoa.h gl: add GstGLDisplayCocoa 2017-12-09 19:31:58 +00:00
gstgldisplay_cocoa.m cocoa: fix a recently introduced typo 2017-12-09 19:32:28 +00:00
gstglwindow_cocoa.h gl: GST_GL_TYPE -> GST_TYPE_GL 2017-12-09 19:32:23 +00:00
gstglwindow_cocoa.m gl/cocoa: keep refs over async operations 2017-12-09 19:32:29 +00:00
Makefile.am gl/cocoa: Put gstglwindow_cocoa.h into noinst_HEADERS again 2017-12-09 19:32:28 +00:00