gstreamer/ext/wayland
Randy Li (ayaka) 0d746d1022 waylandsink: prevent frame callback being released twice
For those using context from the application which
would be the embedded video case, if the frame callback
is entering at the same time as window is finalizing,
a wayland proxy object would be destroyed twice, leading
the refcout less than zero in the second time, it can
throw an abort() in wayland.

For those top window case, which as a directly connection
to the compositor, they can stop the message queue then
the frame callback won't happen at the same time as the
window is finalizing. It doesn't think it would bother
them about this.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1883>
2021-06-15 16:25:17 -04:00
..
gstwaylandsink.c waylandsink: prevent frame callback being released twice 2021-06-15 16:25:17 -04:00
gstwaylandsink.h waylandsink: prevent frame callback being released twice 2021-06-15 16:25:17 -04:00
meson.build ext/wayland: Define libdrm_dep in meson.build 2019-08-20 14:56:48 +00:00
wlbuffer.c waylandsink: Update stale GstBuffer references in wayland buffer cache 2020-07-28 11:35:53 +00:00
wlbuffer.h waylandsink: Update stale GstBuffer references in wayland buffer cache 2020-07-28 11:35:53 +00:00
wldisplay.c waylandsink: use GstMemory instead of GstBuffer for cache lookup 2020-07-15 14:35:06 +00:00
wldisplay.h waylandsink: use GstMemory instead of GstBuffer for cache lookup 2020-07-15 14:35:06 +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: Use memfd_create() when available 2020-09-15 19:17:12 +00:00
wlshmallocator.h waylandsink: replace the custom GstWlShmMemory with GstFdMemory 2015-10-14 22:05:51 +02:00
wlvideoformat.c wlvideoformat: fix DMA format convertor 2020-11-02 12:39:38 +00:00
wlvideoformat.h wayland: include drm_fourcc.h properly and fix build 2016-11-04 09:21:59 +00:00
wlwindow.c waylandsink: prevent frame callback being released twice 2021-06-15 16:25:17 -04:00
wlwindow.h waylandsink: prevent frame callback being released twice 2021-06-15 16:25:17 -04:00