mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
waylandsink: Commit the parent after creating subsurface
We should commit the parent to activate new subsurface, this is documented in the protocol. Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
parent
ae76f9ab23
commit
2077061333
1 changed files with 2 additions and 0 deletions
|
@ -350,6 +350,8 @@ gst_wl_window_new_in_surface (GstWlDisplay * display,
|
|||
window->area_surface, parent);
|
||||
wl_subsurface_set_desync (window->area_subsurface);
|
||||
|
||||
wl_surface_commit (parent);
|
||||
|
||||
return window;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue