gstreamer/gst-libs/gst/gl/win32
Xavier Claessens 77e1e70fdc gl: win32: fix crash when finalizing GstGLContext
gst_gl_context_finalize() is calling gst_gl_window_win32_quit()
which was posting a message. But then window_proc takes window's
context and get a NULL.

Now that we've got a GMainLoop we can do like other backends and
simply call g_main_loop_quit().

This also remove duplicated code to release the parent window and
potential crash there because parent_proc could be NULL if we never
created the internal window. That could happen for example if setting
state to READY then setting a window_handle, and go back to NULL state.

https://bugzilla.gnome.org/show_bug.cgi?id=749601
2017-12-09 19:32:02 +00:00
..
gstglcontext_wgl.c glcontext: add more functionality to wrapped contexts 2017-12-09 19:31:49 +00:00
gstglcontext_wgl.h glcontext: add more functionality to wrapped contexts 2017-12-09 19:31:49 +00:00
gstglwindow_win32.c gl: win32: fix crash when finalizing GstGLContext 2017-12-09 19:32:02 +00:00
gstglwindow_win32.h gl: win32: use a GMainContext to dispatch win32 messages 2017-12-09 19:32:02 +00:00
gstglwindow_win32_egl.c [793/906] add a GstGLContext object that will be the basis of OpenGL contexts 2017-12-09 19:31:30 +00:00
gstglwindow_win32_egl.h gl: keep only one occurence of '#include <EGL/egl.h>' 2017-12-09 19:31:34 +00:00
Makefile.am gl: win32: use a GMainContext to dispatch win32 messages 2017-12-09 19:32:02 +00:00
win32_message_source.c gl: win32: use a GMainContext to dispatch win32 messages 2017-12-09 19:32:02 +00:00
win32_message_source.h gl: win32: use a GMainContext to dispatch win32 messages 2017-12-09 19:32:02 +00:00