mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
ab3931fec8
Currently, mutter hardcodes the stride of all recorded images in a screencast to width * 4. While this stride is valid for general memory buffers, it is not necessarily valid for dmabuf buffers, as the driver may need a specific alignment of the stride. This can currently result into import failures, e.g. when using the AMD driver. To fix this issue, retrieve the actual dmabuf stride, when using dmabuf screencasts, and set it as the stride value in the PipeWire buffer. Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1913 Fixes: https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/issues/101 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2513> |
||
---|---|---|
.. | ||
backends | ||
compositor | ||
core | ||
meta | ||
tests | ||
ui | ||
wayland | ||
x11 | ||
libmutter.pc.in | ||
meson.build | ||
meta-private-enum-types.c.in | ||
meta-private-enum-types.h.in |