mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-06 17:39:47 +00:00
e7c9960783
If the `area_surface` got unmapped when changing to the `READY` or `NULL` state, we currently don't remap it when playback resumes and `wp_viewporter` is supported. Without `wp_viewporter` we do remap it, but rather unintentionally and also when not wanted. On Weston this has not been a big problem as it so far wrongly maps subsurfaces of unmapped surfaces anyway - i.e. only the black background was missing on resume. On other compositors and future Weston this prevents the `video_surface` to get remapped. Shuffle things around to ensure `area_surface` is mapped in the right situations and do some minor cleanup. See also https://gitlab.freedesktop.org/wayland/weston/-/issues/426 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1483> |
||
---|---|---|
.. | ||
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 |