mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
vulkan/wayland: advertise the current surface size
Avoids vkswapper from creating a 0x0 output VkSurface and failing
This commit is contained in:
parent
c94d50090b
commit
4e467e0082
1 changed files with 3 additions and 0 deletions
|
@ -141,6 +141,9 @@ create_surfaces (GstVulkanWindowWayland * window_wl)
|
|||
else
|
||||
height = 240;
|
||||
window_wl->window_height = height;
|
||||
|
||||
gst_vulkan_window_resize (GST_VULKAN_WINDOW (window_wl),
|
||||
window_wl->window_width, window_wl->window_height);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue