mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
The wp_viewport source rectangle is applied in surface-local coordinates
after buffer_transform and buffer_scale. Therefore we need to swap width
and height for 90/270 deg. rotations.
This fixes playback of rotated videos such as portrait videos from
mobile devices.
See also: https://wayland.app/protocols/viewporter#wp_viewport
Fixes:
|
||
---|---|---|
.. | ||
gstwl_fwd.h | ||
gstwlbuffer.c | ||
gstwlbuffer.h | ||
gstwlcontext.c | ||
gstwlcontext.h | ||
gstwldisplay.c | ||
gstwldisplay.h | ||
gstwllinuxdmabuf.c | ||
gstwllinuxdmabuf.h | ||
gstwlshmallocator.c | ||
gstwlshmallocator.h | ||
gstwlvideobufferpool.c | ||
gstwlvideobufferpool.h | ||
gstwlvideoformat.c | ||
gstwlvideoformat.h | ||
gstwlwindow.c | ||
gstwlwindow.h | ||
meson.build | ||
wayland-prelude.h | ||
wayland.h |