mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +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
1d97516731
commit
b60fe0271f
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