gstreamer/gst-libs/gst/gl/win32
Xavier Claessens 247697ce62 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
2015-05-21 14:33:53 -04:00
..
gstglcontext_wgl.c glcontext: add more functionality to wrapped contexts 2014-10-30 18:58:50 +11:00
gstglcontext_wgl.h glcontext: add more functionality to wrapped contexts 2014-10-30 18:58:50 +11:00
gstglwindow_win32.c gl: win32: fix crash when finalizing GstGLContext 2015-05-21 14:33:53 -04:00
gstglwindow_win32.h gl: win32: use a GMainContext to dispatch win32 messages 2015-05-21 14:33:52 -04:00
gstglwindow_win32_egl.c [793/906] add a GstGLContext object that will be the basis of OpenGL contexts 2014-03-15 18:37:01 +01:00
gstglwindow_win32_egl.h gl: keep only one occurence of '#include <EGL/egl.h>' 2014-03-19 14:43:13 +00:00
Makefile.am gl: win32: use a GMainContext to dispatch win32 messages 2015-05-21 14:33:52 -04:00
win32_message_source.c gl: win32: use a GMainContext to dispatch win32 messages 2015-05-21 14:33:52 -04:00
win32_message_source.h gl: win32: use a GMainContext to dispatch win32 messages 2015-05-21 14:33:52 -04:00