mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
glimagesink: fix possible deadlock on osx
Remove gst_glimage_sink_handle_events call in gst_glimage_sink_init. It was unnecessary and when the element was instantiated from the main thread, caused a deadlock in OSX creating the context (thread).
This commit is contained in:
parent
d9b724a3d2
commit
ab8990c89f
1 changed files with 1 additions and 2 deletions
|
@ -364,10 +364,9 @@ gst_glimage_sink_init (GstGLImageSink * glimage_sink)
|
|||
glimage_sink->pool = NULL;
|
||||
glimage_sink->stored_buffer = NULL;
|
||||
glimage_sink->redisplay_texture = 0;
|
||||
glimage_sink->handle_events = TRUE;
|
||||
|
||||
g_mutex_init (&glimage_sink->drawing_lock);
|
||||
|
||||
gst_glimage_sink_handle_events (GST_VIDEO_OVERLAY (glimage_sink), TRUE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue