mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 05:59:10 +00:00
[120/906] git-svn-id: svn://svn.wobow.com/GStreamer_playground/gst-plugins-gl@580 93df14bb-0f41-7a43-8087-d3e2a2f0e464
This commit is contained in:
parent
8b14eea6ec
commit
cbd66b24c8
1 changed files with 4 additions and 2 deletions
|
@ -1906,8 +1906,10 @@ gst_gl_display_set_window_id (GstGLDisplay* display, gulong winId)
|
||||||
|
|
||||||
gst_gl_display_lock (display);
|
gst_gl_display_lock (display);
|
||||||
//display->winId = winId;
|
//display->winId = winId;
|
||||||
gst_gl_display_post_message (GST_GL_DISPLAY_ACTION_CHANGE_CONTEXT, display);
|
//gst_gl_display_post_message (GST_GL_DISPLAY_ACTION_CHANGE_CONTEXT, display);
|
||||||
g_cond_wait (display->cond_change_context, display->mutex);
|
gst_gl_display_post_message (GST_GL_DISPLAY_ACTION_DESTROY_CONTEXT, display);
|
||||||
|
//g_cond_wait (display->cond_change_context, display->mutex);
|
||||||
|
g_cond_wait (display->cond_destroy_context, display->mutex);
|
||||||
gst_gl_display_unlock (display);
|
gst_gl_display_unlock (display);
|
||||||
|
|
||||||
if (g_hash_table_size (gst_gl_display_map) == 0)
|
if (g_hash_table_size (gst_gl_display_map) == 0)
|
||||||
|
|
Loading…
Reference in a new issue