<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
    For wayland, you need to share the wl_display between SDL and
    GStreamer.  Once you retrieve the wl_display from SDL, create the
    necessary GstGLDisplay with
    gst_gl_display_wayland_new_with_display().<br></div></blockquote><div><br></div><div>Replacing gst_gl_display_new() with     gst_gl_display_wayland_new_with_display() did the trick.<br></div></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Thank you<br></div></div>