mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
e6944da134
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> |
||
---|---|---|
.. | ||
gstwaylandsink.c | ||
gstwaylandsink.h | ||
meson.build | ||
wlbuffer.c | ||
wlbuffer.h | ||
wldisplay.c | ||
wldisplay.h | ||
wllinuxdmabuf.c | ||
wllinuxdmabuf.h | ||
wlshmallocator.c | ||
wlshmallocator.h | ||
wlvideoformat.c | ||
wlvideoformat.h | ||
wlwindow.c | ||
wlwindow.h |