[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:
Julien Isorce 2008-07-11 06:24:27 +00:00 committed by Tim-Philipp Müller
parent 8b14eea6ec
commit cbd66b24c8

View file

@ -1906,8 +1906,10 @@ gst_gl_display_set_window_id (GstGLDisplay* display, gulong winId)
gst_gl_display_lock (display);
//display->winId = winId;
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_CHANGE_CONTEXT, display);
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);
if (g_hash_table_size (gst_gl_display_map) == 0)