Skip to content
  • Marc Leeman's avatar
    egl: wl_egl_window is not wl_proxy · 92137572
    Marc Leeman authored and Matthew Waters's avatar Matthew Waters committed
    It seems that eglCreatePlatformWindowSurfaceEXT is failing (with
    EGL_BAD_ALLOC) because it thinks an EGL surface has already been created
    for the wl_egl_window. The reason is that the "driver_private" field of
    the wl_egl_window is getting clobbered by the function
    wl_proxy_set_queue().
    
    Since a wl_egl_window is not a wl_proxy, it shouldn't be passed to
    wl_proxy_set_queue(). It just wraps a wl_surface (which is a wl_proxy).
    And it looks like the queue for that surface is getting set earlier on
    in the function anyway.
    
    See gstreamer/gst-plugins-base#621 (comment 184582)
    92137572