<div dir="ltr">I would like to use a X11 window. <br>Problem is I cannot get EGL invoked when using GST_GL_PLATFORM=egl GST_GL_WINDOW=x11.<br>I am verifying this by checking if "EGLImage" is provided as allocater->mem_type in the proposed BufferPool by glimagesink.<br>

<br>The sink tries to see if "EGL_KHR_image_base" feature is present in the context created and if it is present, then only proposes EGLImage as a mem_type available.<br>I am able to do this with wayland but not with X11.<br>

<br> <br>><br>> > Hello,<br>> ><br>> > I am trying to use a GstBufferPool proposed by glimagesink in a custom<br>> > decoder plugin with EGLImage as memory type.<br>> > Could you please suggest the windowing system that is to be used when<br>

> > creating a EGLContext?<br>> > I could not get x11 window to initialize with EGL.<br>> > If I set environment variables as: GST_GL_PLATFORM="egl"<br>> > and GST_GL_WINDOW="x11"<br>

> > glimagesink tries to create a x11 display and window and skips EGL<br>> > completely.<br>> ><br>> > With  GST_GL_PLATFORM="egl" and GST_GL_WINDOW="" window creation fails<br>

> > and gstglwindow.c says "creating dummy window".<br>> > (plugins-bad/gst-libs/gst/gl/gstglwindow.c#143)<br>> ><br>> > Is there a way to get around this?<br>> > I am using gstreamer-bad-plugins 1.3.2 with Ubuntu 14.04.<br>

><br>> What kind of window do you want to create?<br>><br>> If you choose<br>> > GST_GL_PLATFORM=egl GST_GL_WINDOW=egl<br>> you will get an offscreen EGL surface as window, and if you want it to<br>> be rendered into something else you'll have to provide a window to the<br>

> sink.<br>><br>> If you choose<br>> > GST_GL_PLATFORM=egl GST_GL_WINDOW=x11<br>> you will get a X11 window and all the windowing is done via X11, which<br>> also means that an X11 display is used. But as GL platform EGL will be<br>

> used.<br>><br>> --<br>> Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com">http://www.centricular.com</a><br>> Expertise, Straight from the Source<br>><br><br><br>--<br>Pankaj</div>