[Bug 749601] win32: glimagesink always popup a new window

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 21 05:56:18 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=749601

Xavier Claessens <xclaesse at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #303717|accepted-commit_now         |none
             status|                            |
 Attachment #303717|0                           |1
        is obsolete|                            |

--- Comment #15 from Xavier Claessens <xclaesse at gmail.com> ---
Created attachment 303757
  --> https://bugzilla.gnome.org/attachment.cgi?id=303757&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