diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-12-28 19:36:30 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-01-09 12:58:56 +0100 |
commit | 899fc0ebae17952153ce2312b74c00c4e2aec2cc (patch) | |
tree | d6057448c78be31bdd311c4fe0b1699061decc2f | |
parent | 1108acfcacaa74099dcfd1eb048ea89d1fe11320 (diff) |
eglglessink: Bind the OpenGL ES API in the render thread too
-rw-r--r-- | ext/eglgles/gsteglglessink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/eglgles/gsteglglessink.c b/ext/eglgles/gsteglglessink.c index 4824814c8..fa9fecdb9 100644 --- a/ext/eglgles/gsteglglessink.c +++ b/ext/eglgles/gsteglglessink.c @@ -592,6 +592,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; |