mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
gl/wayland: Use consistent wl_display when creating work queue for proxy wrapper
Without this, glimagesink since wayland 727c7903 fails with gst-launch-1.0: ../src/wayland-client.c:2181: wl_proxy_set_queue: Assertion 'proxy->display == queue->display' failed. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1200>
This commit is contained in:
parent
58f4217468
commit
885c1c605b
1 changed files with 1 additions and 2 deletions
|
@ -561,8 +561,7 @@ gst_gl_window_wayland_egl_open (GstGLWindow * window, GError ** error)
|
|||
* each wayland resource we create as well as removing a race between
|
||||
* creation and the `wl_proxy_set_queue()` call. */
|
||||
window_egl->display.display = wl_proxy_create_wrapper (display->display);
|
||||
window_egl->window.queue =
|
||||
wl_display_create_queue (window_egl->display.display);
|
||||
window_egl->window.queue = wl_display_create_queue (display->display);
|
||||
|
||||
wl_proxy_set_queue ((struct wl_proxy *) window_egl->display.display,
|
||||
window_egl->window.queue);
|
||||
|
|
Loading…
Reference in a new issue