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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 21 12:38:47 PDT 2015


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

--- Comment #19 from Xavier Claessens <xclaesse at gmail.com> ---
Created attachment 303780
  --> https://bugzilla.gnome.org/attachment.cgi?id=303780&action=edit
gl: win32: do not call SetParent in release_parent_win_id()

When called from gst_gl_window_win32_close(), internal window
could not exist, and if it does it's going to be destroyed just
after that anyway. Also it causes window_proc() to be called
and crash because it gets a NULL context.

When called from gst_gl_window_win32_set_window_handle() we are
going to set another parent anyway, and it's probably better to
reparent directly instead of passing by a NULL parent which could
cause the internal window to popup briefly.

-- 
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