eglglessink: Bind the OpenGL ES API in the render thread too

This commit is contained in:
Sebastian Dröge 2012-12-28 19:36:30 +01:00
parent 46c7bbfeb5
commit e454e9a862

View file

@ -620,6 +620,8 @@ render_thread_func (GstEglGlesSink * eglglessink)
gst_element_post_message (GST_ELEMENT_CAST (eglglessink), message);
g_value_unset (&val);
eglBindAPI (EGL_OPENGL_ES_API);
while (gst_data_queue_pop (eglglessink->queue, &item)) {
GstBuffer *buf = NULL;