gstreamer/ext/wayland
Damian Hobson-Garcia e6944da134 waylandsink: use GstMemory instead of GstBuffer for cache lookup
The GstMemory objects contained in a GstBuffer could be replaced
by an upstream element, which would break the association beteen
the GstBuffer and the wayland wl_buffer, make the cache lookup
results incorrect.
This patch changes the cache lookup to use the first GstMemory
in a buffer instead.  For multi-plane buffers, this assumes that
all of the GstMemory(s) will always be moved together as a set,
and that the same (first) GstMemory isn't used with different
combinations of other GstMemory(s).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1401>
2020-07-15 14:35:06 +00:00
..
gstwaylandsink.c waylandsink: Keep per display wayland buffer caches 2020-07-15 14:35:06 +00:00
gstwaylandsink.h waylandsink: support fullscreen 2018-05-06 15:13:59 +02:00
meson.build ext/wayland: Define libdrm_dep in meson.build 2019-08-20 14:56:48 +00:00
wlbuffer.c waylandsink: use GstMemory instead of GstBuffer for cache lookup 2020-07-15 14:35:06 +00:00
wlbuffer.h waylandsink: Keep per display wayland buffer caches 2020-07-15 14:35:06 +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: 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 wlvideoformat: fix typo in the format list 2020-06-28 18:55:02 +02:00
wlvideoformat.h wayland: include drm_fourcc.h properly and fix build 2016-11-04 09:21:59 +00:00
wlwindow.c waylandsink: Clear window when pipeline is stopped 2020-01-28 13:22:36 +01:00
wlwindow.h waylandsink: Wait for the surface to be configured 2019-04-03 18:20:58 +00:00