[226/906] check on win32 that every tests/pipelines and tests/examples (generic, gtk, qt) still work

This commit is contained in:
Julien Isorce 2008-09-18 22:50:05 +02:00 committed by Matthew Waters
parent de5ba4b7f2
commit e8abbdaaa7

View file

@ -2133,11 +2133,14 @@ void
gst_gl_display_del_texture (GstGLDisplay* display, GLuint texture, GLint width, GLint height) gst_gl_display_del_texture (GstGLDisplay* display, GLuint texture, GLint width, GLint height)
{ {
gst_gl_display_lock (display); gst_gl_display_lock (display);
if (texture)
{
display->del_texture = texture; display->del_texture = texture;
display->del_texture_width = width; display->del_texture_width = width;
display->del_texture_height = height; display->del_texture_height = height;
gst_gl_display_post_message (GST_GL_DISPLAY_ACTION_DEL_TEXTURE, display); gst_gl_display_post_message (GST_GL_DISPLAY_ACTION_DEL_TEXTURE, display);
g_cond_wait (display->cond_del_texture, display->mutex); g_cond_wait (display->cond_del_texture, display->mutex);
}
gst_gl_display_unlock (display); gst_gl_display_unlock (display);
} }