[Bug 749601] win32: glimagesink always popup a new window
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed May 20 14:22:49 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=749601
--- Comment #10 from Xavier Claessens <xclaesse at gmail.com> ---
Created attachment 303717
--> https://bugzilla.gnome.org/attachment.cgi?id=303717&action=edit
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list