mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
eglglessink: Bind the OpenGL ES API in the render thread too
This commit is contained in:
parent
46c7bbfeb5
commit
e454e9a862
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue