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:
Jeffy Chen 2019-11-25 19:08:48 +08:00
parent ae76f9ab23
commit 2077061333

View file

@ -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;
}