gstreamer/ext/wayland
Wonchul Lee 2ae381e2a3 waylandsink: Avoid race condition on multi-threaded client
When waylandsink is used on some other thread than the main wayland
client thread, the waylandsink implementation is vulnerable to a

condition related to registry and surface events which handled in
seperated event queue.

The race that may happen is that after a proxy is created, but
before the queue is set, events meant to be emitted via the yet to

set queue may already have been queued on the wrong queue.

Wayland 1.11 introduced new API that allows creating a proxy
wrappper which can help to avoid this race condition.
2018-12-13 17:20:04 +00:00
..
.gitignore waylandsink: Build bindings for the unstable wl_scaler spec 2014-06-17 13:51:24 +02:00
gstwaylandsink.c waylandsink: support fullscreen 2018-05-06 15:13:59 +02:00
gstwaylandsink.h waylandsink: support fullscreen 2018-05-06 15:13:59 +02:00
Makefile.am waylandsink: relaxed wl_shell check and added zwp_fullscreen_shell. 2018-07-25 07:53:09 -04:00
meson.build waylandsink: relaxed wl_shell check and added zwp_fullscreen_shell. 2018-07-25 07:53:09 -04:00
wlbuffer.c waylandsink: take into account the case where a pool may be destroyed together with GstWlDisplay 2014-10-11 14:57:14 +02:00
wlbuffer.h waylandsink: stack the video subsurface into another subsurface that covers the whole render rectangle 2014-10-11 14:57:14 +02:00
wldisplay.c waylandsink: Avoid race condition on multi-threaded client 2018-12-13 17:20:04 +00:00
wldisplay.h waylandsink: Avoid race condition on multi-threaded client 2018-12-13 17:20:04 +00:00
wllinuxdmabuf.c waylandsink: fix memory offset calculation for dmabuf buffers 2017-03-14 17:07:40 +02:00
wllinuxdmabuf.h waylandsink: support linux dmabuf protocol 2016-11-03 15:37:46 -04:00
wlshmallocator.c waylandsink: Validate strides and offset when using FD as SHM 2017-11-25 14:59:03 -05:00
wlshmallocator.h waylandsink: replace the custom GstWlShmMemory with GstFdMemory 2015-10-14 22:05:51 +02:00
wlvideoformat.c waylandsink: support linux dmabuf protocol 2016-11-03 15:37:46 -04:00
wlvideoformat.h wayland: include drm_fourcc.h properly and fix build 2016-11-04 09:21:59 +00:00
wlwindow.c waylandsink: Avoid race condition on multi-threaded client 2018-12-13 17:20:04 +00:00
wlwindow.h waylandsink: Avoid race condition on multi-threaded client 2018-12-13 17:20:04 +00:00